java.lang.LinkageError: Failed to link mypackage/MyServletExtension (Module "deployment.my-app-0.0.1-SNAPSHOT.ear.my-app-ejb.jar:main" from Service Module Loader)

Stack Overflow | cheb1k4 | 5 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Custom web app authentication with WildFly

    Stack Overflow | 5 months ago | cheb1k4
    java.lang.LinkageError: Failed to link mypackage/MyServletExtension (Module "deployment.my-app-0.0.1-SNAPSHOT.ear.my-app-ejb.jar:main" from Service Module Loader)
  2. 0

    GitHub comment 52#109758425

    GitHub | 2 years ago | bobmcwhirter
    java.lang.reflect.InvocationTargetException
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Starting wildfly 9 with eclipselink

    Stack Overflow | 1 year ago | Ced
    java.lang.LinkageError: Failed to link org/eclipse/persistence/jpa/rs/exceptions/JPARSExceptionMapper (Module "org.eclipse.persistence:main" from local module loader @45283ce2 (finder: local module finder @2077d4de (roots: C:\wildfly-9.0.2.Final\modules,C:\wildfly-9.0.2.Final\modules\system\layers\base)))
  5. 0

    how to lookup ejb into wildfly server to a client

    codegur.net | 11 months ago
    java.lang.RuntimeException: Failed to construct public org.eclipse.persistence.jpa.rs.service.JPARSApplication()
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

    io.undertow.servlet.ServletExtension from [Module "deployment.my-app-0.0.1-SNAPSHOT.ear.my-app-ejb.jar:main" from Service Module Loader]

    at org.jboss.modules.ModuleClassLoader.findClass()
  2. JBoss Modules
    ConcurrentClassLoader.loadClass
    1. org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:205)[jboss-modules.jar:1.4.3.Final]
    2. org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:455)[jboss-modules.jar:1.4.3.Final]
    3. org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:404)[jboss-modules.jar:1.4.3.Final]
    4. org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:385)[jboss-modules.jar:1.4.3.Final]
    5. org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:130)[jboss-modules.jar:1.4.3.Final]
    5 frames
  3. Java RT
    ClassLoader.defineClass
    1. java.lang.ClassLoader.defineClass1(Native Method)[rt.jar:1.8.0_60]
    2. java.lang.ClassLoader.defineClass(ClassLoader.java:760)[rt.jar:1.8.0_60]
    2 frames
  4. JBoss Modules
    ConcurrentClassLoader.loadClass
    1. org.jboss.modules.ModuleClassLoader.doDefineOrLoadClass(ModuleClassLoader.java:353)[jboss-modules.jar:1.4.3.Final]
    2. org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.java:432)[jboss-modules.jar:1.4.3.Final]
    3. org.jboss.modules.ModuleClassLoader.loadClassLocal(ModuleClassLoader.java:269)[jboss-modules.jar:1.4.3.Final]
    4. org.jboss.modules.ModuleClassLoader$1.loadClassLocal(ModuleClassLoader.java:77)[jboss-modules.jar:1.4.3.Final]
    5. org.jboss.modules.Module.loadModuleClass(Module.java:560)[jboss-modules.jar:1.4.3.Final]
    6. org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:197)[jboss-modules.jar:1.4.3.Final]
    7. org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:455)[jboss-modules.jar:1.4.3.Final]
    8. org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:404)[jboss-modules.jar:1.4.3.Final]
    9. org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:385)[jboss-modules.jar:1.4.3.Final]
    10. org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:130)[jboss-modules.jar:1.4.3.Final]
    10 frames
  5. Java RT
    ServiceLoader$1.next
    1. java.lang.Class.forName0(Native Method)[rt.jar:1.8.0_60]
    2. java.lang.Class.forName(Class.java:348)[rt.jar:1.8.0_60]
    3. java.util.ServiceLoader$LazyIterator.nextService(ServiceLoader.java:370)[rt.jar:1.8.0_60]
    4. java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:404)[rt.jar:1.8.0_60]
    5. java.util.ServiceLoader$1.next(ServiceLoader.java:480)[rt.jar:1.8.0_60]
    5 frames
  6. Undertow Servlet
    DeploymentManagerImpl.deploy
    1. io.undertow.servlet.core.DeploymentManagerImpl.handleExtensions(DeploymentManagerImpl.java:243)
    2. io.undertow.servlet.core.DeploymentManagerImpl.deploy(DeploymentManagerImpl.java:150)
    2 frames
  7. WildFly: Undertow
    UndertowDeploymentService$1.run
    1. org.wildfly.extension.undertow.deployment.UndertowDeploymentService.startContext(UndertowDeploymentService.java:100)
    2. org.wildfly.extension.undertow.deployment.UndertowDeploymentService$1.run(UndertowDeploymentService.java:82)
    2 frames
  8. Java RT
    Thread.run
    1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[rt.jar:1.8.0_60]
    2. java.util.concurrent.FutureTask.run(FutureTask.java:266)[rt.jar:1.8.0_60]
    3. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[rt.jar:1.8.0_60]
    4. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[rt.jar:1.8.0_60]
    5. java.lang.Thread.run(Thread.java:745)[rt.jar:1.8.0_60]
    5 frames
  9. JBoss Threads
    JBossThread.run
    1. org.jboss.threads.JBossThread.run(JBossThread.java:320)[jboss-threads-2.2.0.Final.jar:2.2.0.Final]
    1 frame