4 Replies Latest reply on Oct 9, 2013 3:14 PM by Jonathan Fuerth

    Problem with Guava 14.0.1, Erray.2.4.0.Final and WildFly.8.Beta1

    Hristo Stoyanov Master

      Not sure where I should report this, but let's start with the Errai forum: The included guava-14.0.1.jar is messing up Weld in WildFly.8.Beta1. It is OK in JBoss 7.2. However, if you upgrade to  guava-15.0.jar, you will start getting the same issue even in JBoss 7.2.

       

      =====================================================

      01:44:11,277 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-1) MSC000001: Failed to start service jboss.deployment.unit."s4g-web.war".WeldStartService: org.jboss.msc.service.StartException in service jboss.deployment.unit."s4g-web.war".WeldStartService: Failed to start service

        at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1900) [jboss-msc-1.2.0.Beta2.jar:1.2.0.Beta2]

        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_40]

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_40]

        at java.lang.Thread.run(Thread.java:724) [rt.jar:1.7.0_40]

      Caused by: org.jboss.weld.exceptions.DeploymentException: WELD-001408: Unsatisfied dependencies for type Set<Service> with qualifiers @Default

        at injection point [BackedAnnotatedParameter] Parameter 1 of [BackedAnnotatedConstructor] @Inject com.google.common.util.concurrent.ServiceManager(Set<Service>)

        at com.google.common.util.concurrent.ServiceManager.<init>(ServiceManager.java:0)

       

       

        at org.jboss.weld.bootstrap.Validator.validateInjectionPointForDeploymentProblems(Validator.java:361)

        at org.jboss.weld.bootstrap.Validator.validateInjectionPoint(Validator.java:282)

        at org.jboss.weld.bootstrap.Validator.validateGeneralBean(Validator.java:133)

        at org.jboss.weld.bootstrap.Validator.validateRIBean(Validator.java:164)

        at org.jboss.weld.bootstrap.Validator.validateBean(Validator.java:507)

        at org.jboss.weld.bootstrap.ConcurrentValidator$1.doWork(ConcurrentValidator.java:68)

        at org.jboss.weld.bootstrap.ConcurrentValidator$1.doWork(ConcurrentValidator.java:66)

        at org.jboss.weld.executor.IterativeWorkerTaskFactory$1.call(IterativeWorkerTaskFactory.java:60)

        at org.jboss.weld.executor.IterativeWorkerTaskFactory$1.call(IterativeWorkerTaskFactory.java:53)

        at java.util.concurrent.FutureTask.run(FutureTask.java:262) [rt.jar:1.7.0_40]

        ... 3 more

       

       

      01:44:11,284 ERROR [org.jboss.as.controller.management-operation] (DeploymentScanner-threads - 1) JBAS014613: Operation ("deploy") failed - address: ([("deployment" => "s4g-web.war")]) - failure description: {"JBAS014671: Failed services" => {"jboss.deployment.unit.\"s4g-web.war\".WeldStartService" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"s4g-web.war\".WeldStartService: Failed to start service

          Caused by: org.jboss.weld.exceptions.DeploymentException: WELD-001408: Unsatisfied dependencies for type Set<Service> with qualifiers @Default

        at injection point [BackedAnnotatedParameter] Parameter 1 of [BackedAnnotatedConstructor] @Inject com.google.common.util.concurrent.ServiceManager(Set<Service>)

        at com.google.common.util.concurrent.ServiceManager.<init>(ServiceManager.java:0)

      "}}

      01:44:11,288 ERROR [org.jboss.as.server] (DeploymentScanner-threads - 1) JBAS015870: Deploy of deployment "s4g-web.war" was rolled back with the following failure message:

      {"JBAS014671: Failed services" => {"jboss.deployment.unit.\"s4g-web.war\".WeldStartService" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"s4g-web.war\".WeldStartService: Failed to start service

          Caused by: org.jboss.weld.exceptions.DeploymentException: WELD-001408: Unsatisfied dependencies for type Set<Service> with qualifiers @Default

        at injection point [BackedAnnotatedParameter] Parameter 1 of [BackedAnnotatedConstructor] @Inject com.google.common.util.concurrent.ServiceManager(Set<Service>)

        at com.google.common.util.concurrent.ServiceManager.<init>(ServiceManager.java:0)

      "}}