1 Reply Latest reply on Mar 4, 2014 9:00 AM by Jozef Hartinger

    Weld 2.2.Beta1 is incompatible with latest WildFly snapshot

    Juergen Zimmermann Master

      I just tried to upgrade from Weld 2.2.Alpha2 to 2.2.Beta1 and got this stacktrace in WildFly when deploying my war:

       

      ERROR [org.jboss.msc.service.fail] (MSC service thread 1-9) MSC000001: Failed to start service jboss.deployment.unit."shop.war".component.KundeResource.WeldInstantiator: org.jboss.msc.service.StartException in service jboss.deployment.unit."shop.war".component.KundeResource.WeldInstantiator: Failed to start service

      at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1904) [jboss-msc-1.2.1.Final.jar:1.2.1.Final]

      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [rt.jar:1.8.0]

      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [rt.jar:1.8.0]

      at java.lang.Thread.run(Thread.java:744) [rt.jar:1.8.0]

      Caused by: java.lang.NoSuchMethodError: org.jboss.weld.manager.BeanManagerImpl.getInjectionTargetFactory(Ljavax/enterprise/inject/spi/AnnotatedType;)Lorg/jboss/weld/manager/InjectionTargetFactoryImpl;

      at org.jboss.as.weld.injection.WeldComponentService.start(WeldComponentService.java:101)

      at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948) [jboss-msc-1.2.1.Final.jar:1.2.1.Final]

      at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881) [jboss-msc-1.2.1.Final.jar:1.2.1.Final]

      ... 3 more