Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

  1. ,
    Expert 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.

Solutions on the web

via Stack Overflow by cheb1k4
, 1 year ago
Failed to link mypackage/MyServletExtension (Module "deployment.my-app-0.0.1-SNAPSHOT.ear.my-app-ejb.jar:main" from Service Module Loader)
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) at org.wildfly.extension.undertow.deployment.UndertowDeploymentService$1.run(UndertowDeploymentService.java:85) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[rt.jar:1.8.0_60] at java.util.concurrent.FutureTask.run(FutureTask.java:266)[rt.jar:1.8.0_60] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[rt.jar:1.8.0_60] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[rt.jar:1.8.0_60] at java.lang.Thread.run(Thread.java:745)[rt.jar:1.8.0_60] at org.jboss.threads.JBossThread.run(JBossThread.java:320)[jboss-threads-2.2.0.Final.jar:2.2.0.Final]Caused by: 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) at org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.java:437)[jboss-modules.jar:1.4.3.Final] at org.jboss.modules.ModuleClassLoader.loadClassLocal(ModuleClassLoader.java:269)[jboss-modules.jar:1.4.3.Final] at org.jboss.modules.ModuleClassLoader$1.loadClassLocal(ModuleClassLoader.java:77)[jboss-modules.jar:1.4.3.Final] at org.jboss.modules.Module.loadModuleClass(Module.java:560)[jboss-modules.jar:1.4.3.Final] at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:197)[jboss-modules.jar:1.4.3.Final] at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:455)[jboss-modules.jar:1.4.3.Final] at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:404)[jboss-modules.jar:1.4.3.Final] at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:385)[jboss-modules.jar:1.4.3.Final] at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:130)[jboss-modules.jar:1.4.3.Final] at java.lang.Class.forName0(Native Method)[rt.jar:1.8.0_60] at java.lang.Class.forName(Class.java:348)[rt.jar:1.8.0_60] at java.util.ServiceLoader$LazyIterator.nextService(ServiceLoader.java:370)[rt.jar:1.8.0_60] at java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:404)[rt.jar:1.8.0_60] at java.util.ServiceLoader$1.next(ServiceLoader.java:480)[rt.jar:1.8.0_60] at io.undertow.servlet.core.DeploymentManagerImpl.handleExtensions(DeploymentManagerImpl.java:243) at io.undertow.servlet.core.DeploymentManagerImpl.deploy(DeploymentManagerImpl.java:150) at org.wildfly.extension.undertow.deployment.UndertowDeploymentService.startContext(UndertowDeploymentService.java:100) at org.wildfly.extension.undertow.deployment.UndertowDeploymentService$1.run(UndertowDeploymentService.java:82) ... 6 moreCaused by: java.lang.NoClassDefFoundError: io/undertow/servlet/ServletExtension at java.lang.ClassLoader.defineClass1(Native Method)[rt.jar:1.8.0_60] at java.lang.ClassLoader.defineClass(ClassLoader.java:760)[rt.jar:1.8.0_60] at org.jboss.modules.ModuleClassLoader.doDefineOrLoadClass(ModuleClassLoader.java:353)[jboss-modules.jar:1.4.3.Final] at org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.java:432)[jboss-modules.jar:1.4.3.Final] ... 23 moreCaused by: 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(ModuleClassLoader.java:205)[jboss-modules.jar:1.4.3.Final] at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:455)[jboss-modules.jar:1.4.3.Final] at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:404)[jboss-modules.jar:1.4.3.Final] at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:385)[jboss-modules.jar:1.4.3.Final] at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:130)[jboss-modules.jar:1.4.3.Final] ... 27 more