java.lang.ClassNotFoundException

test.personservice.web.PersonServlet from [Module "deployment.PersonService.war:main" from Service Module Loader]


Samebug tips1

Check if the version of resteasy is using is the same JBoss is using. To find it out, search for resteasy-jaxrs* in JBoss/Wildfly directory and at your pom.xml.

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.


Solutions on the web2974

Solution icon of stackoverflow
via Stack Overflow by manban
, 7 months ago
test.personservice.web.PersonServlet from [Module "deployment.PersonService.war:main" from Service Module Loader]

Solution icon of coderanch
org.apache.tiles.startup.BasicTilesInitializer from [Module "deployment.CategoryClient4-ear.ear.CategoryClient4-web.war:main" from Service Module Loader]

Solution icon of coderanch
via Coderanch by badri bouchra, 8 months ago
org.apache.xml.serializer.TreeWalker from [Module "deployment.server.war:main" from Service Module Loader]

Solution icon of coderanch
via Coderanch by Joao Bpmn, 7 months ago
org.activiti.cdi.impl.annotation.StartProcessInterceptor from [Module "deployment.ActivitiJSF.war:main" from Service Module Loader]

Solution icon of coderanch
via Coderanch by Michael Piaser, 7 months ago
org.hibernate.Session from [Module "deployment.voxportal-web.war:main" from Service Module Loader]

Solution icon of bugzilla
via https://bugzilla.redhat.com/bugzilla/ by Lukas Krejci, 1 year ago
org.apache.xerces.parsers.SAXParser from [Module "deployment.rhq.ear:main" from Service Module Loader]

Solution icon of github
via GitHub by redhatlinux10
, 1 year ago
org.h2.jdbcx.JdbcConnectionPool from [Module "deployment.ROOT.war:main" from Service Module Loader]

Solution icon of github
org.hibernate.service.spi.BasicServiceInitiator from [Module "deployment.application.war:main" from Service Module Loader]

Solution icon of googlegroups
via Google Groups by Tiago Sippert, 1 year ago
org.springframework.context.ApplicationListener from [Module "deployment.hello.war:main" from Service Module Loader]

Solution icon of googlegroups
via Google Groups by Vasiliy Ufimtsev, 6 months ago
.io.ebean.AutoTune from [Module "deployment.cas.war:main" from Service Module Loader]

Stack trace

  • java.lang.ClassNotFoundException: test.personservice.web.PersonServlet from [Module "deployment.PersonService.war:main" from Service Module Loader] at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService.createServletConfig(UndertowDeploymentInfoService.java:1079) at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService.start(UndertowDeploymentInfoService.java:284) at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948) at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.ClassNotFoundException: test.personservice.web.PersonServlet from [Module "deployment.PersonService.war:main" from Service Module Loader] at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:198) at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:363) at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:351) at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:93) at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService.createServletConfig(UndertowDeploymentInfoService.java:723) ... 6 more

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

Once, 3 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
2 times, 7 months ago
8 times, 8 months ago
81 more bugmates