java.lang.LinkageError

Failed to link com/mmm/common/util/io/MmmURLStreamHandlerFactory$MyHttpHandler (Module "deployment.snaps-ear-prod-3.13.1.1-SNAPSHOT.ear.snaps-web-prod-3.13.1.1-SNAPSHOT.war:main" from Service Module Loader)

Samebug tips1

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.

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web2078

  • via Stack Overflow by Kum
    , 1 year ago
    Failed to link com/mmm/common/util/io/MmmURLStreamHandlerFactory$MyHttpHandler (Module "deployment.snaps-ear-prod-3.13.1.1-SNAPSHOT.ear.snaps-web-prod-3.13.1.1-SNAPSHOT.war:main" from Service Module Loader)
  • via Stack Overflow by Juliano Grams
    , 1 year ago
    Failed to link br/com/caelum/vraptor/ioc/spring/HttpServletRequestProvider (Module "deployment.hello-1.0-SNAPSHOT.war:main" from Service Module Loader)
  • Failed to link com/vaadin/terminal/gwt/client/ui/VCustomComponent (Module "deployment.nymm-1.0-SNAPSHOT.war:main" from Service Module Loader)
  • Stack trace

    • java.lang.LinkageError: Failed to link com/mmm/common/util/io/MmmURLStreamHandlerFactory$MyHttpHandler (Module "deployment.snaps-ear-prod-3.13.1.1-SNAPSHOT.ear.snaps-web-prod-3.13.1.1-SNAPSHOT.war:main" from Service Module Loader) at org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.java:487)[jboss-modules.jar:1.3.6.Final-redhat-1] at org.jboss.modules.ModuleClassLoader.loadClassLocal(ModuleClassLoader.java:277)[jboss-modules.jar:1.3.6.Final-redhat-1] at org.jboss.modules.ModuleClassLoader$1.loadClassLocal(ModuleClassLoader.java:92)[jboss-modules.jar:1.3.6.Final-redhat-1] at org.jboss.modules.Module.loadModuleClass(Module.java:568)[jboss-modules.jar:1.3.6.Final-redhat-1] at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:205)[jboss-modules.jar:1.3.6.Final-redhat-1] at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:459)[jboss-modules.jar:1.3.6.Final-redhat-1] at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:408)[jboss-modules.jar:1.3.6.Final-redhat-1] at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:389)[jboss-modules.jar:1.3.6.Final-redhat-1] at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:134)[jboss-modules.jar:1.3.6.Final-redhat-1] at com.mmm.snaps.service.IoTimeoutService.initialize(IoTimeoutService.java:54)[snaps-java-common-3.13.1.1-SNAPSHOT.jar:] at com.mmm.snaps.service.init.InitializationService.doInitializeServices(InitializationService.java:200)[snaps-java-common-3.13.1.1-SNAPSHOT.jar:] at com.mmm.snaps.service.init.InitializationService.initializeServicesIfNeeded(InitializationService.java:105)[snaps-java-common-3.13.1.1-SNAPSHOT.jar:] at com.mmm.snaps.filter.AbstractSnapsRequestFilter.performPreProcessing(AbstractSnapsRequestFilter.java:354)[snaps-java-common-3.13.1.1-SNAPSHOT.jar:] at com.mmm.snaps.filter.AbstractSnapsRequestFilter.performPreProcessing(AbstractSnapsRequestFilter.java:290)[snaps-java-common-3.13.1.1-SNAPSHOT.jar:] at com.mmm.snaps.servlet.SnapsServlet.handleRequest(SnapsServlet.java:98)[snaps-java-common-3.13.1.1-SNAPSHOT.jar:] at com.mmm.snaps.servlet.SnapsServlet.doGet(SnapsServlet.java:200)[snaps-java-common-3.13.1.1-SNAPSHOT.jar:] at javax.servlet.http.HttpServlet.service(HttpServlet.java:734)[jboss-servlet-api_3.0_spec-1.0.2.Final-redhat-2.jar:1.0.2.Final-redhat-2] at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)[jboss-servlet-api_3.0_spec-1.0.2.Final-redhat-2.jar:1.0.2.Final-redhat-2] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:295)[jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)[jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:231)[jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:149)[jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1] at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:169)[jboss-as-web-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:150)[jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:97)[jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:102)[jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:344)[jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:854)[jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1] at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:653)[jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1] at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:926)[jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1] at java.lang.Thread.run(Thread.java:745)[rt.jar:1.8.0_91] Caused by: java.lang.NoClassDefFoundError: sun
    • et/www/protocol/http/Handler at java.lang.ClassLoader.defineClass1(Native Method)[rt.jar:1.8.0_91] at java.lang.ClassLoader.defineClass(ClassLoader.java:763)[rt.jar:1.8.0_91] at org.jboss.modules.ModuleClassLoader.doDefineOrLoadClass(ModuleClassLoader.java:361)[jboss-modules.jar:1.3.6.Final-redhat-1] at org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.java:482)[jboss-modules.jar:1.3.6.Final-redhat-1] ... 30 more Caused by: java.lang.ClassNotFoundException: sun.net.www.protocol.http.Handler from [Module "deployment.snaps-ear-prod-3.13.1.1-SNAPSHOT.ear.snaps-web-prod-3.13.1.1-SNAPSHOT.war:main" from Service Module Loader] at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:213)[jboss-modules.jar:1.3.6.Final-redhat-1] at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:459)[jboss-modules.jar:1.3.6.Final-redhat-1] at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:408)[jboss-modules.jar:1.3.6.Final-redhat-1] at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:389)[jboss-modules.jar:1.3.6.Final-redhat-1] at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:134)[jboss-modules.jar:1.3.6.Final-redhat-1] ... 34 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

    97 times, 9 months ago
    8 times, 9 months ago
    Unknown user
    Once, 10 months ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    81 more bugmates