Why EAP6 throws ClassNotFoundException for org.jboss.as.server.Services ?

Solution Verified - Updated -

Issue

  • While starting JBoss EAP 6 server as a standalone, getting the following ERROR stackTrace:
  12:00:44,518 ERROR [org.jboss.as.controller.management-operation] (ServerService Thread Pool -- 26) JBAS014612: Operation ("add") failed - address: ([
    ("subsystem" => "deployment-scanner"),
    ("scanner" => "default")
]): java.lang.NoClassDefFoundError: org/jboss/as/server/Services
    ...
Caused by: java.lang.ClassNotFoundException: org.jboss.as.server.Services from [Module "org.jboss.as.deployment-scanner:main" from local module loader @1a64e307 (finder: local module finder @5574ee1a (roots: /path/jboss-eap-6.2/modules,/path/jboss-eap-6.2/modules/system/layers/base))]
    ...
12:00:51,314 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) "JBAS014784: Failed executing subsystem deployment-scanner boot operations"

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 6.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content