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


Samebug tips

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.


5 months ago
Expert tip

Solutions on the web

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

Solution icon of stackoverflow
org.apache.struts2.tiles.StrutsTilesListener from [Module "deployment.BanqueEE.ear.BanqueEEWeb.war:main" from Service Module Loader]

Solution icon of apache
org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter from [Module "deployment.struts.war:main" from Service Module Loader]

Solution icon of stackoverflow
com.wosocean.indexos.vc.servlet.IndexOsIntegracaoServlet from [Module "deployment.wosoceanw_3.11.0b167.ear.IndexOS.web.tim-indexos.war:main" from Service Module Loader]

Solution icon of stackoverflow
data.apps.saveChart from [Module "deployment.APPLICATIONDEMOEAR.ear.APPLICATIONDEMO.war:main" from Service Module Loader]

Solution icon of stackoverflow
via Stack Overflow by Nizar Abdelhedi
, 10 months ago
test.Test1 from [Module "deployment.BanquePPWeb.war:main" from Service Module Loader]

Solution icon of stackoverflow
com.scos.web.MyProject.service.MyProjectPortType from [Module "deployment.MyProjectServiceEAR.ear.MyProjectService.war:main" from Service Module Loader]

Solution icon of googlegroups
via Google Groups by Richard Good, 6 months ago
HttpServletRaServlet from [Module "deployment.restcomm.war:main" from Service Module Loader]

Solution icon of apache
org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter from [Module "deployment.struts.war:main" from Service Module Loader]

Solution icon of stackoverflow
org.springframework.web.servlet.DispatcherServlet from [Module "deployment.MySpringHibernate.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, 6 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
2 times, 9 months ago
8 times, 10 months ago
97 more bugmates