java.lang.ClassNotFoundException

tip

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.

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

  • @EJB Bean Injection Nullpointer Exception
    via Stack Overflow by manban
    ,
  • error running default servlet
    via Stack Overflow by Nizar Abdelhedi
    ,
  • Error in deployment: wildfly 10
    via Stack Overflow by user4786082
    ,
  • HTTP Servlet RA on JAIN SLEE 7.0.0
    via by Richard Good,
    • 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

    Users with the same issue

    Andreas HäberAndreas Häber
    1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    MoYaproMoYapro
    2 times, last one,
    ReichReich
    8 times, last one,
    81 more bugmates