Why EAP6 throws ClassNotFoundException for org.jboss.as.server.Services ?
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 of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
