java.lang.NoClassDefFoundError: com/example/pojo/User

Google Groups | Charles Moulliard | 5 months ago
  1. 0

    Use classes from a Maven Artifact (POJO)

    Google Groups | 5 months ago | Charles Moulliard
    java.lang.NoClassDefFoundError: com/example/pojo/User
  2. 0

    Getting RuntimeException on JBoss AS 7

    Stack Overflow | 4 years ago | nag
    com.manam.mobee.fwk.listener.MobeeSeamListener: java.lang.RuntimeException: Could not create Component: dbendPointHome
  3. 0

    Classloading in EJB module packaged in EAR

    Stack Overflow | 9 months ago | nmundbrod
    javax.ejb.EJBException: java.lang.IllegalStateException: WFLYEE0042: Failed to construct component instance
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    classnotfound exception securityassociation wildfly v10

    Stack Overflow | 8 months ago | user1459641
    java.lang.ClassNotFoundException: org.jboss.security.SecurityAssociation from [Module "deployment.employee-app-1.2.1.ear.authorization-service-login-modules-jboss-1.1.2.jar:main" from Service Module Loader]
  6. 0

    How to use httpcomponents in wildfly 10 with EAR project?

    Stack Overflow | 7 months ago | Nicholas
    java.lang.ClassNotFoundException: org.apache.http.client.methods.HttpUriRequest from [Module "deployment.opca-ear.ear.opca-ejb.jar:main" from Service Module Loader]
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.ClassNotFoundException

    com.example.pojo.User from [Module "deployment.b58f2140-dd8c-4181-93ca-3c5620f29483.war:main" from Service Module Loader]

    at org.jboss.modules.ModuleClassLoader.findClass()
  2. JBoss Modules
    ConcurrentClassLoader.loadClass
    1. org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:198)
    2. org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:363)
    3. org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:351)
    4. org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:93)
    4 frames
  3. Java RT
    Class.getMethods
    1. java.lang.Class.getDeclaredMethods0(Native Method)
    2. java.lang.Class.privateGetDeclaredMethods(Class.java:2701)
    3. java.lang.Class.privateGetPublicMethods(Class.java:2902)
    4. java.lang.Class.getMethods(Class.java:1615)
    4 frames
  4. RESTEasy JAX-RS Implementation
    HttpServletDispatcher.init
    1. org.jboss.resteasy.spi.metadata.ResourceBuilder.fromAnnotations(ResourceBuilder.java:756)
    2. org.jboss.resteasy.spi.metadata.ResourceBuilder.rootResourceFromAnnotations(ResourceBuilder.java:709)
    3. org.jboss.resteasy.plugins.server.resourcefactory.POJOResourceFactory.<init>(POJOResourceFactory.java:30)
    4. org.jboss.resteasy.core.ResourceMethodRegistry.addPerRequestResource(ResourceMethodRegistry.java:76)
    5. org.jboss.resteasy.spi.ResteasyDeployment.registration(ResteasyDeployment.java:404)
    6. org.jboss.resteasy.spi.ResteasyDeployment.start(ResteasyDeployment.java:245)
    7. org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.init(ServletContainerDispatcher.java:113)
    8. org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.init(HttpServletDispatcher.java:36)
    8 frames
  5. Undertow Servlet
    LifecyleInterceptorInvocation.proceed
    1. io.undertow.servlet.core.LifecyleInterceptorInvocation.proceed(LifecyleInterceptorInvocation.java:117)
    1 frame
  6. WildFly: Undertow
    RunAsLifecycleInterceptor.init
    1. org.wildfly.extension.undertow.security.RunAsLifecycleInterceptor.init(RunAsLifecycleInterceptor.java:78)
    1 frame
  7. Undertow Servlet
    DeploymentManagerImpl.start
    1. io.undertow.servlet.core.LifecyleInterceptorInvocation.proceed(LifecyleInterceptorInvocation.java:103)
    2. io.undertow.servlet.core.ManagedServlet$DefaultInstanceStrategy.start(ManagedServlet.java:231)
    3. io.undertow.servlet.core.ManagedServlet.createServlet(ManagedServlet.java:132)
    4. io.undertow.servlet.core.DeploymentManagerImpl.start(DeploymentManagerImpl.java:526)
    4 frames
  8. WildFly: Undertow
    UndertowDeploymentService$1.run
    1. org.wildfly.extension.undertow.deployment.UndertowDeploymentService.startContext(UndertowDeploymentService.java:101)
    2. org.wildfly.extension.undertow.deployment.UndertowDeploymentService$1.run(UndertowDeploymentService.java:82)
    2 frames
  9. Java RT
    Thread.run
    1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
    2. java.util.concurrent.FutureTask.run(FutureTask.java:266)
    3. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    4. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    5. java.lang.Thread.run(Thread.java:745)
    5 frames
  10. JBoss Threads
    JBossThread.run
    1. org.jboss.threads.JBossThread.run(JBossThread.java:320)
    1 frame