javax.enterprise.event.ObserverException

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

Look if your classpath is correct, and check if the versions of your libraries match the version you described in 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.

  • GitHub comment 8135#140798190
    via GitHub by wildfly-ci
    ,
  • GitHub comment 8135#140798729
    via GitHub by wildfly-ci
    ,
  • db:: 3.35::Spring-WS 1.5.9 on JBoss AS 7 83
    via by Unknown author,
    • javax.enterprise.event.ObserverException at java.lang.Class.newInstance(Class.java:442) at org.jboss.weld.security.NewInstanceAction.run(NewInstanceAction.java:33) at java.security.AccessController.doPrivileged(Native Method) at org.jboss.weld.injection.Exceptions.rethrowException(Exceptions.java:40) at org.jboss.weld.injection.Exceptions.rethrowException(Exceptions.java:78) at org.jboss.weld.injection.StaticMethodInjectionPoint.invoke(StaticMethodInjectionPoint.java:96) at org.jboss.weld.injection.MethodInvocationStrategy$SpecialParamPlusBeanManagerStrategy.invoke(MethodInvocationStrategy.java:144) at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:308) at org.jboss.weld.event.ExtensionObserverMethodImpl.sendEvent(ExtensionObserverMethodImpl.java:123) at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:286) at org.jboss.weld.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:264) at org.jboss.weld.bootstrap.events.ContainerLifecycleEvents.fireProcessAnnotatedType(ContainerLifecycleEvents.java:197) at org.jboss.weld.bootstrap.events.ContainerLifecycleEvents.fireProcessAnnotatedType(ContainerLifecycleEvents.java:169) at org.jboss.weld.bootstrap.BeanDeployer.processAnnotatedTypes(BeanDeployer.java:158) at org.jboss.weld.bootstrap.BeanDeployment.createTypes(BeanDeployment.java:224) at org.jboss.weld.bootstrap.WeldStartup.startInitialization(WeldStartup.java:384) at org.jboss.weld.bootstrap.WeldBootstrap.startInitialization(WeldBootstrap.java:76) at org.jboss.as.weld.WeldStartService.start(WeldStartService.java:92) 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/resteasy/cdi/i18n/LogMessages (Module \"org.jboss.resteasy.resteasy-cdi:main\" from local module loader @7f7052 (finder: local module finder @1028347 (roots: /opt/buildAgent/work/a31d203e70e89f90/testsuite/integration/basic/target/jbossas/modules,/opt/buildAgent/work/a31d203e70e89f90/dist/target/wildfly-10.0.0.CR1-SNAPSHOT/modules,/opt/buildAgent/work/a31d203e70e89f90/dist/target/wildfly-10.0.0.CR1-SNAPSHOT/modules/system/layers/base,/opt/buildAgent/work/a31d203e70e89f90/testsuite/integration/basic/target/modules))) 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 org.jboss.resteasy.cdi.ResteasyCdiExtension.observeResources(ResteasyCdiExtension.java:98) at org.jboss.weld.injection.StaticMethodInjectionPoint.invoke(StaticMethodInjectionPoint.java:88) ... 17 more Caused by: java.lang.NoClassDefFoundError: org/jboss/logging/BasicLogger 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) ... 28 more

    Users with the same issue

    Unknown visitor1 times, last one,
    davidvanlaatum
    1 times, last one,
    DannyDBag
    12 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    139 more bugmates