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)

If you like a tip written by other Samebug users, mark is as helpful! Marks help our algorithm provide you better solutions and also help other users.
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.

  • Custom web app authentication with WildFly
    via Stack Overflow by cheb1k4
    ,
  • GitHub comment 52#109758425
    via GitHub by bobmcwhirter
    ,
  • Starting wildfly 9 with eclipselink
    via Stack Overflow by Ced
    ,
  • how to lookup ejb into wildfly server to a client
    via by Unknown author,
  • I have several warnings in the Wildfly log because of liquibase: * WARN [org.jboss.as.server.deployment] (MSC service thread 1-2) WFLYSRV0059: Class Path entry lib/snakeyaml-1.13.jar in /content/DbIT.war/WEB-INF/lib/liquibase-core.jar does not point to a valid jar for a Class-Path reference. * WARN [org.jboss.weld.Validator] (weld-worker-4) WELD-001473: javax.enterprise.inject.spi.Bean implementation liquibase.integration.cdi.CDIBootstrap$1@7cd6867c declared a normal scope but does not implement javax.enterprise.inject.spi.PassivationCapable. It won't be possible to inject this bean into a bean with a passivating scope (@SessionScoped, @ConversationScoped). This can be fixed by assigning the Bean implementation a unique id by implementing the PassivationCapable interface. * The following error is present if snakeyaml is not in the classpath (it is supposed to be an optional dependency): {noformat} WARN [org.jboss.modules] (MSC service thread 1-6) Failed to define class liquibase.serializer.core.yaml.YamlSerializer$LiquibaseRepresenter in Module "deployment.DbIT.war:main" from Service Module Loader: java.lang.LinkageError: Failed to link liquibase/serializer/core/yaml/YamlSerializer$LiquibaseRepresenter (Module "deployment.DbIT.war: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.ClassLoader.defineClass1(Native Method) [rt.jar:1.8.0_45-internal] at java.lang.ClassLoader.defineClass(ClassLoader.java:760) [rt.jar:1.8.0_45-internal] 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] 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 liquibase.servicelocator.DefaultPackageScanClassResolver.loadClass(DefaultPackageScanClassResolver.java:372) [liquibase-core.jar:] at liquibase.servicelocator.DefaultPackageScanClassResolver.loadImplementationsInJar(DefaultPackageScanClassResolver.java:445) [liquibase-core.jar:] at liquibase.servicelocator.DefaultPackageScanClassResolver.findAllClasses(DefaultPackageScanClassResolver.java:231) [liquibase-core.jar:] at liquibase.servicelocator.DefaultPackageScanClassResolver.find(DefaultPackageScanClassResolver.java:121) [liquibase-core.jar:] at liquibase.servicelocator.DefaultPackageScanClassResolver.findImplementations(DefaultPackageScanClassResolver.java:89) [liquibase-core.jar:] at liquibase.servicelocator.ServiceLocator.findClassesImpl(ServiceLocator.java:209) [liquibase-core.jar:] at liquibase.servicelocator.ServiceLocator.findClasses(ServiceLocator.java:184) [liquibase-core.jar:] at liquibase.servicelocator.ServiceLocator.findClass(ServiceLocator.java:148) [liquibase-core.jar:] at liquibase.servicelocator.ServiceLocator.newInstance(ServiceLocator.java:197) [liquibase-core.jar:] at liquibase.logging.LogFactory.getLog(LogFactory.java:50) [liquibase-core.jar:] at liquibase.logging.LogFactory.getLogger(LogFactory.java:39) [liquibase-core.jar:] at liquibase.integration.cdi.CDILiquibase.<init>(CDILiquibase.java:75) [liquibase-cdi.jar:] at liquibase.integration.cdi.CDILiquibase$Proxy$_$$_WeldClientProxy.<init>(Unknown Source) [liquibase-cdi.jar:] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [rt.jar:1.8.0_45-internal] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) [rt.jar:1.8.0_45-internal] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) [rt.jar:1.8.0_45-internal] at java.lang.reflect.Constructor.newInstance(Constructor.java:422) [rt.jar:1.8.0_45-internal] at java.lang.Class.newInstance(Class.java:442) [rt.jar:1.8.0_45-internal] at org.jboss.weld.bean.proxy.DefaultProxyInstantiator.newInstance(DefaultProxyInstantiator.java:43) [weld-core-impl-2.2.14.Final.jar:2015-06-24 15:18] at org.jboss.weld.bean.proxy.ProxyFactory.run(ProxyFactory.java:307) [weld-core-impl-2.2.14.Final.jar:2015-06-24 15:18] at org.jboss.weld.bean.proxy.ProxyFactory.create(ProxyFactory.java:299) [weld-core-impl-2.2.14.Final.jar:2015-06-24 15:18] at org.jboss.weld.bean.proxy.ClientProxyFactory.create(ClientProxyFactory.java:83) [weld-core-impl-2.2.14.Final.jar:2015-06-24 15:18] at org.jboss.weld.bean.proxy.ClientProxyProvider.createClientProxy(ClientProxyProvider.java:198) [weld-core-impl-2.2.14.Final.jar:2015-06-24 15:18] at org.jboss.weld.bean.proxy.ClientProxyProvider.createClientProxy(ClientProxyProvider.java:188) [weld-core-impl-2.2.14.Final.jar:2015-06-24 15:18] at org.jboss.weld.bean.proxy.ClientProxyProvider.access$100(ClientProxyProvider.java:46) [weld-core-impl-2.2.14.Final.jar:2015-06-24 15:18] at org.jboss.weld.bean.proxy.ClientProxyProvider$CreateClientProxy.load(ClientProxyProvider.java:57) [weld-core-impl-2.2.14.Final.jar:2015-06-24 15:18] at org.jboss.weld.bean.proxy.ClientProxyProvider$CreateClientProxy.load(ClientProxyProvider.java:53) [weld-core-impl-2.2.14.Final.jar:2015-06-24 15:18] at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3527) [guava.jar:] at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2319) [guava.jar:] at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2282) [guava.jar:] at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2197) [guava.jar:] at com.google.common.cache.LocalCache.get(LocalCache.java:3937) [guava.jar:] at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:3941) [guava.jar:] at com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:4824) [guava.jar:] at org.jboss.weld.util.cache.LoadingCacheUtils.getCacheValue(LoadingCacheUtils.java:49) [weld-core-impl-2.2.14.Final.jar:2015-06-24 15:18] at org.jboss.weld.util.cache.LoadingCacheUtils.getCastCacheValue(LoadingCacheUtils.java:74) [weld-core-impl-2.2.14.Final.jar:2015-06-24 15:18] at org.jboss.weld.bean.proxy.ClientProxyProvider.getClientProxy(ClientProxyProvider.java:222) [weld-core-impl-2.2.14.Final.jar:2015-06-24 15:18] at org.jboss.weld.manager.BeanManagerImpl.getReference(BeanManagerImpl.java:755) [weld-core-impl-2.2.14.Final.jar:2015-06-24 15:18] at org.jboss.weld.manager.BeanManagerImpl.getReference(BeanManagerImpl.java:784) [weld-core-impl-2.2.14.Final.jar:2015-06-24 15:18] at org.jboss.weld.util.ForwardingBeanManager.getReference(ForwardingBeanManager.java:61) [weld-core-impl-2.2.14.Final.jar:2015-06-24 15:18] at org.jboss.weld.bean.builtin.BeanManagerProxy.getReference(BeanManagerProxy.java:85) [weld-core-impl-2.2.14.Final.jar:2015-06-24 15:18] at liquibase.integration.cdi.CDIBootstrap.afterDeploymentValidation(CDIBootstrap.java:111) [liquibase-cdi.jar:] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.8.0_45-internal] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [rt.jar:1.8.0_45-internal] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_45-internal] at java.lang.reflect.Method.invoke(Method.java:497) [rt.jar:1.8.0_45-internal] at org.jboss.weld.injection.StaticMethodInjectionPoint.invoke(StaticMethodInjectionPoint.java:88) [weld-core-impl-2.2.14.Final.jar:2015-06-24 15:18] at org.jboss.weld.injection.MethodInvocationStrategy$SpecialParamPlusBeanManagerStrategy.invoke(MethodInvocationStrategy.java:144) [weld-core-impl-2.2.14.Final.jar:2015-06-24 15:18] at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:306) [weld-core-impl-2.2.14.Final.jar:2015-06-24 15:18] at org.jboss.weld.event.ExtensionObserverMethodImpl.sendEvent(ExtensionObserverMethodImpl.java:121) [weld-core-impl-2.2.14.Final.jar:2015-06-24 15:18] at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:284) [weld-core-impl-2.2.14.Final.jar:2015-06-24 15:18] at org.jboss.weld.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:262) [weld-core-impl-2.2.14.Final.jar:2015-06-24 15:18] at org.jboss.weld.event.ObserverNotifier.notifySyncObservers(ObserverNotifier.java:271) [weld-core-impl-2.2.14.Final.jar:2015-06-24 15:18] at org.jboss.weld.event.ObserverNotifier.notify(ObserverNotifier.java:260) [weld-core-impl-2.2.14.Final.jar:2015-06-24 15:18] at org.jboss.weld.event.ObserverNotifier.fireEvent(ObserverNotifier.java:154) [weld-core-impl-2.2.14.Final.jar:2015-06-24 15:18] at org.jboss.weld.event.ObserverNotifier.fireEvent(ObserverNotifier.java:148) [weld-core-impl-2.2.14.Final.jar:2015-06-24 15:18] at org.jboss.weld.bootstrap.events.AbstractContainerEvent.fire(AbstractContainerEvent.java:54) [weld-core-impl-2.2.14.Final.jar:2015-06-24 15:18] at org.jboss.weld.bootstrap.events.AbstractDeploymentContainerEvent.fire(AbstractDeploymentContainerEvent.java:35) [weld-core-impl-2.2.14.Final.jar:2015-06-24 15:18] at org.jboss.weld.bootstrap.events.AfterDeploymentValidationImpl.fire(AfterDeploymentValidationImpl.java:28) [weld-core-impl-2.2.14.Final.jar:2015-06-24 15:18] at org.jboss.weld.bootstrap.WeldStartup.validateBeans(WeldStartup.java:447) [weld-core-impl-2.2.14.Final.jar:2015-06-24 15:18] at org.jboss.weld.bootstrap.WeldBootstrap.validateBeans(WeldBootstrap.java:90) [weld-core-impl-2.2.14.Final.jar:2015-06-24 15:18] at org.jboss.as.weld.WeldStartService.start(WeldStartService.java:94) [wildfly-weld-9.0.1.Final.jar:9.0.1.Final] 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) [rt.jar:1.8.0_45-internal] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [rt.jar:1.8.0_45-internal] at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_45-internal] Caused by: java.lang.NoClassDefFoundError: org/yaml/snakeyaml/representer/Representer at java.lang.ClassLoader.defineClass1(Native Method) [rt.jar:1.8.0_45-internal] at java.lang.ClassLoader.defineClass(ClassLoader.java:760) [rt.jar:1.8.0_45-internal] 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] ... 87 more Caused by: java.lang.ClassNotFoundException: org.yaml.snakeyaml.representer.Representer from [Module "deployment.DbIT.war: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] ... 91 more {noformat}
    via by Thomas,
  • I have several warnings in the Wildfly log because of liquibase: * WARN [org.jboss.as.server.deployment] (MSC service thread 1-2) WFLYSRV0059: Class Path entry lib/snakeyaml-1.13.jar in /content/DbIT.war/WEB-INF/lib/liquibase-core.jar does not point to a valid jar for a Class-Path reference. * WARN [org.jboss.weld.Validator] (weld-worker-4) WELD-001473: javax.enterprise.inject.spi.Bean implementation liquibase.integration.cdi.CDIBootstrap$1@7cd6867c declared a normal scope but does not implement javax.enterprise.inject.spi.PassivationCapable. It won't be possible to inject this bean into a bean with a passivating scope (@SessionScoped, @ConversationScoped). This can be fixed by assigning the Bean implementation a unique id by implementing the PassivationCapable interface. * The following error is present if snakeyaml is not in the classpath (it is supposed to be an optional dependency): {noformat} WARN [org.jboss.modules] (MSC service thread 1-6) Failed to define class liquibase.serializer.core.yaml.YamlSerializer$LiquibaseRepresenter in Module "deployment.DbIT.war:main" from Service Module Loader: java.lang.LinkageError: Failed to link liquibase/serializer/core/yaml/YamlSerializer$LiquibaseRepresenter (Module "deployment.DbIT.war: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.ClassLoader.defineClass1(Native Method) [rt.jar:1.8.0_45-internal] at java.lang.ClassLoader.defineClass(ClassLoader.java:760) [rt.jar:1.8.0_45-internal] 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] 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 liquibase.servicelocator.DefaultPackageScanClassResolver.loadClass(DefaultPackageScanClassResolver.java:372) [liquibase-core.jar:] at liquibase.servicelocator.DefaultPackageScanClassResolver.loadImplementationsInJar(DefaultPackageScanClassResolver.java:445) [liquibase-core.jar:] at liquibase.servicelocator.DefaultPackageScanClassResolver.findAllClasses(DefaultPackageScanClassResolver.java:231) [liquibase-core.jar:] at liquibase.servicelocator.DefaultPackageScanClassResolver.find(DefaultPackageScanClassResolver.java:121) [liquibase-core.jar:] at liquibase.servicelocator.DefaultPackageScanClassResolver.findImplementations(DefaultPackageScanClassResolver.java:89) [liquibase-core.jar:] at liquibase.servicelocator.ServiceLocator.findClassesImpl(ServiceLocator.java:209) [liquibase-core.jar:] at liquibase.servicelocator.ServiceLocator.findClasses(ServiceLocator.java:184) [liquibase-core.jar:] at liquibase.servicelocator.ServiceLocator.findClass(ServiceLocator.java:148) [liquibase-core.jar:] at liquibase.servicelocator.ServiceLocator.newInstance(ServiceLocator.java:197) [liquibase-core.jar:] at liquibase.logging.LogFactory.getLog(LogFactory.java:50) [liquibase-core.jar:] at liquibase.logging.LogFactory.getLogger(LogFactory.java:39) [liquibase-core.jar:] at liquibase.integration.cdi.CDILiquibase.<init>(CDILiquibase.java:75) [liquibase-cdi.jar:] at liquibase.integration.cdi.CDILiquibase$Proxy$_$$_WeldClientProxy.<init>(Unknown Source) [liquibase-cdi.jar:] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [rt.jar:1.8.0_45-internal] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) [rt.jar:1.8.0_45-internal] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) [rt.jar:1.8.0_45-internal] at java.lang.reflect.Constructor.newInstance(Constructor.java:422) [rt.jar:1.8.0_45-internal] at java.lang.Class.newInstance(Class.java:442) [rt.jar:1.8.0_45-internal] at org.jboss.weld.bean.proxy.DefaultProxyInstantiator.newInstance(DefaultProxyInstantiator.java:43) [weld-core-impl-2.2.14.Final.jar:2015-06-24 15:18] at org.jboss.weld.bean.proxy.ProxyFactory.run(ProxyFactory.java:307) [weld-core-impl-2.2.14.Final.jar:2015-06-24 15:18] at org.jboss.weld.bean.proxy.ProxyFactory.create(ProxyFactory.java:299) [weld-core-impl-2.2.14.Final.jar:2015-06-24 15:18] at org.jboss.weld.bean.proxy.ClientProxyFactory.create(ClientProxyFactory.java:83) [weld-core-impl-2.2.14.Final.jar:2015-06-24 15:18] at org.jboss.weld.bean.proxy.ClientProxyProvider.createClientProxy(ClientProxyProvider.java:198) [weld-core-impl-2.2.14.Final.jar:2015-06-24 15:18] at org.jboss.weld.bean.proxy.ClientProxyProvider.createClientProxy(ClientProxyProvider.java:188) [weld-core-impl-2.2.14.Final.jar:2015-06-24 15:18] at org.jboss.weld.bean.proxy.ClientProxyProvider.access$100(ClientProxyProvider.java:46) [weld-core-impl-2.2.14.Final.jar:2015-06-24 15:18] at org.jboss.weld.bean.proxy.ClientProxyProvider$CreateClientProxy.load(ClientProxyProvider.java:57) [weld-core-impl-2.2.14.Final.jar:2015-06-24 15:18] at org.jboss.weld.bean.proxy.ClientProxyProvider$CreateClientProxy.load(ClientProxyProvider.java:53) [weld-core-impl-2.2.14.Final.jar:2015-06-24 15:18] at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3527) [guava.jar:] at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2319) [guava.jar:] at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2282) [guava.jar:] at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2197) [guava.jar:] at com.google.common.cache.LocalCache.get(LocalCache.java:3937) [guava.jar:] at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:3941) [guava.jar:] at com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:4824) [guava.jar:] at org.jboss.weld.util.cache.LoadingCacheUtils.getCacheValue(LoadingCacheUtils.java:49) [weld-core-impl-2.2.14.Final.jar:2015-06-24 15:18] at org.jboss.weld.util.cache.LoadingCacheUtils.getCastCacheValue(LoadingCacheUtils.java:74) [weld-core-impl-2.2.14.Final.jar:2015-06-24 15:18] at org.jboss.weld.bean.proxy.ClientProxyProvider.getClientProxy(ClientProxyProvider.java:222) [weld-core-impl-2.2.14.Final.jar:2015-06-24 15:18] at org.jboss.weld.manager.BeanManagerImpl.getReference(BeanManagerImpl.java:755) [weld-core-impl-2.2.14.Final.jar:2015-06-24 15:18] at org.jboss.weld.manager.BeanManagerImpl.getReference(BeanManagerImpl.java:784) [weld-core-impl-2.2.14.Final.jar:2015-06-24 15:18] at org.jboss.weld.util.ForwardingBeanManager.getReference(ForwardingBeanManager.java:61) [weld-core-impl-2.2.14.Final.jar:2015-06-24 15:18] at org.jboss.weld.bean.builtin.BeanManagerProxy.getReference(BeanManagerProxy.java:85) [weld-core-impl-2.2.14.Final.jar:2015-06-24 15:18] at liquibase.integration.cdi.CDIBootstrap.afterDeploymentValidation(CDIBootstrap.java:111) [liquibase-cdi.jar:] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.8.0_45-internal] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [rt.jar:1.8.0_45-internal] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_45-internal] at java.lang.reflect.Method.invoke(Method.java:497) [rt.jar:1.8.0_45-internal] at org.jboss.weld.injection.StaticMethodInjectionPoint.invoke(StaticMethodInjectionPoint.java:88) [weld-core-impl-2.2.14.Final.jar:2015-06-24 15:18] at org.jboss.weld.injection.MethodInvocationStrategy$SpecialParamPlusBeanManagerStrategy.invoke(MethodInvocationStrategy.java:144) [weld-core-impl-2.2.14.Final.jar:2015-06-24 15:18] at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:306) [weld-core-impl-2.2.14.Final.jar:2015-06-24 15:18] at org.jboss.weld.event.ExtensionObserverMethodImpl.sendEvent(ExtensionObserverMethodImpl.java:121) [weld-core-impl-2.2.14.Final.jar:2015-06-24 15:18] at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:284) [weld-core-impl-2.2.14.Final.jar:2015-06-24 15:18] at org.jboss.weld.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:262) [weld-core-impl-2.2.14.Final.jar:2015-06-24 15:18] at org.jboss.weld.event.ObserverNotifier.notifySyncObservers(ObserverNotifier.java:271) [weld-core-impl-2.2.14.Final.jar:2015-06-24 15:18] at org.jboss.weld.event.ObserverNotifier.notify(ObserverNotifier.java:260) [weld-core-impl-2.2.14.Final.jar:2015-06-24 15:18] at org.jboss.weld.event.ObserverNotifier.fireEvent(ObserverNotifier.java:154) [weld-core-impl-2.2.14.Final.jar:2015-06-24 15:18] at org.jboss.weld.event.ObserverNotifier.fireEvent(ObserverNotifier.java:148) [weld-core-impl-2.2.14.Final.jar:2015-06-24 15:18] at org.jboss.weld.bootstrap.events.AbstractContainerEvent.fire(AbstractContainerEvent.java:54) [weld-core-impl-2.2.14.Final.jar:2015-06-24 15:18] at org.jboss.weld.bootstrap.events.AbstractDeploymentContainerEvent.fire(AbstractDeploymentContainerEvent.java:35) [weld-core-impl-2.2.14.Final.jar:2015-06-24 15:18] at org.jboss.weld.bootstrap.events.AfterDeploymentValidationImpl.fire(AfterDeploymentValidationImpl.java:28) [weld-core-impl-2.2.14.Final.jar:2015-06-24 15:18] at org.jboss.weld.bootstrap.WeldStartup.validateBeans(WeldStartup.java:447) [weld-core-impl-2.2.14.Final.jar:2015-06-24 15:18] at org.jboss.weld.bootstrap.WeldBootstrap.validateBeans(WeldBootstrap.java:90) [weld-core-impl-2.2.14.Final.jar:2015-06-24 15:18] at org.jboss.as.weld.WeldStartService.start(WeldStartService.java:94) [wildfly-weld-9.0.1.Final.jar:9.0.1.Final] 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) [rt.jar:1.8.0_45-internal] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [rt.jar:1.8.0_45-internal] at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_45-internal] Caused by: java.lang.NoClassDefFoundError: org/yaml/snakeyaml/representer/Representer at java.lang.ClassLoader.defineClass1(Native Method) [rt.jar:1.8.0_45-internal] at java.lang.ClassLoader.defineClass(ClassLoader.java:760) [rt.jar:1.8.0_45-internal] 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] ... 87 more Caused by: java.lang.ClassNotFoundException: org.yaml.snakeyaml.representer.Representer from [Module "deployment.DbIT.war: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] ... 91 more {noformat}
    via by Thomas,
  • Cannot deploy a MDB that bounds to genericjms RA. The following warning is logged in the server log file: {noformat} 2015-05-17 18:55:11,370 WARN [org.jboss.modules] (MSC service thread 1-4) Failed to define class org.jboss.tibco.mdb.OutQueueSimpleMDB in Module "deployment.jboss-as-jms-tibco-int-ear-1.0.ear.jboss-as-jms-tibco-int-mdb-1.0.jar:main" from Service Module Loader: java.lang.LinkageError: Failed to link org/jboss/tibco/mdb/OutQueueSimpleMDB (Module "deployment.jboss-as-jms-tibco-int-ear-1.0.ear.jboss-as-jms-tibco-int-mdb-1.0.jar:main" from Service Module Loader) at org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.java:437) at org.jboss.modules.ModuleClassLoader.loadClassLocal(ModuleClassLoader.java:269) at org.jboss.modules.ModuleClassLoader$1.loadClassLocal(ModuleClassLoader.java:77) at org.jboss.modules.Module.loadModuleClass(Module.java:560) at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:197) at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:455) at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:404) at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:385) at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:130) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:348) at org.jboss.as.server.deployment.reflect.DeploymentClassIndex.classIndex(DeploymentClassIndex.java:54) at org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.processComponentConfig(InterceptorAnnotationProcessor.java:85) at org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.deploy(InterceptorAnnotationProcessor.java:77) at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:156) 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.NoClassDefFoundError: javax/jms/MessageListener at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:760) at org.jboss.modules.ModuleClassLoader.doDefineOrLoadClass(ModuleClassLoader.java:353) at org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.java:432) ... 19 more Caused by: java.lang.ClassNotFoundException: javax.jms.MessageListener from [Module "deployment.jboss-as-jms-tibco-int-ear-1.0.ear.jboss-as-jms-tibco-int-mdb-1.0.jar:main" from Service Module Loader] at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:205) at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:455) at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:404) at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:385) at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:130) ... 23 more 2015-05-17 18:55:11,371 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-4) MSC000001: Failed to start service jboss.deployment.subunit."jboss-as-jms-tibco-int-ear-1.0.ear"."jboss-as-jms-tibco-int-mdb-1.0.jar".POST_MODULE: org.jboss.msc.service.StartException in service jboss.deployment.subunit."jboss-as-jms-tibco-int-ear-1.0.ear"."jboss-as-jms-tibco-int-mdb-1.0.jar".POST_MODULE: WFLYSRV0153: Failed to process phase POST_MODULE of subdeployment "jboss-as-jms-tibco-int-mdb-1.0.jar" of deployment "jboss-as-jms-tibco-int-ear-1.0.ear" at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:163) 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.LinkageError: Failed to link org/jboss/tibco/mdb/OutQueueSimpleMDB (Module "deployment.jboss-as-jms-tibco-int-ear-1.0.ear.jboss-as-jms-tibco-int-mdb-1.0.jar:main" from Service Module Loader) at org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.java:437) at org.jboss.modules.ModuleClassLoader.loadClassLocal(ModuleClassLoader.java:269) at org.jboss.modules.ModuleClassLoader$1.loadClassLocal(ModuleClassLoader.java:77) at org.jboss.modules.Module.loadModuleClass(Module.java:560) at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:197) at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:455) at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:404) at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:385) at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:130) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:348) at org.jboss.as.server.deployment.reflect.DeploymentClassIndex.classIndex(DeploymentClassIndex.java:54) at org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.processComponentConfig(InterceptorAnnotationProcessor.java:85) at org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.deploy(InterceptorAnnotationProcessor.java:77) at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:156) ... 5 more Caused by: java.lang.NoClassDefFoundError: javax/jms/MessageListener at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:760) at org.jboss.modules.ModuleClassLoader.doDefineOrLoadClass(ModuleClassLoader.java:353) at org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.java:432) ... 19 more Caused by: java.lang.ClassNotFoundException: javax.jms.MessageListener from [Module "deployment.jboss-as-jms-tibco-int-ear-1.0.ear.jboss-as-jms-tibco-int-mdb-1.0.jar:main" from Service Module Loader] at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:205) at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:455) at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:404) at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:385) at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:130) ... 23 more {noformat} The deployment works in EAP 6.4.
    via by Tom Ross,
    • 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 more Caused 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 more Caused 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

    Users with the same issue

    andyglick
    andyglick97 times, last one,
    Andreas Häber
    Andreas Häber8 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    81 more bugmates