3 Replies Latest reply on Sep 3, 2014 11:46 AM by Divya Dadlani

    Problems with errai forge demo - WELD-001408: Unsatisfied dependencies for type SyncBeanManager

    Christopher White Newbie

      I am new to errai and GWT. Rgular developer of backend apps with JBoss.lots of Eclipse experience.

       

      I have installed Eclipe 4.4 (Luna). I have also installed JBoss Tools and the nightly build of Forge.

       

      I am able to run the Complaint app demo from the command line (had to use superdev mode).

       

      I am able to run the Complaint app from within Eclipse.

       

      However, I am not able to run the errai Forge demo. I have installed the JBoss Tools 4.2.0.Beta3 (had to use this to get the Forge nightly build to install).


      I added the App class per the tutorial but when I run I get the following exceptions (entire log attached to this posting). Any help would be appreciated.


      14:21:18,604 INFO  [org.jboss.weld.Bootstrap] (weld-worker-4) WELD-000119: Not generating any bean definitions from org.jboss.errai.ioc.client.api.builtin.RootPanelProvider because of underlying class loading error: Type com.google.gwt.user.client.ui.RootPanel from [Module "deployment.errai-forge_demo.war:main" from Service Module Loader] not found.  If this is unexpected, enable DEBUG logging to see the full error.

      [INFO] 14:21:18,927 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-16) MSC000001: Failed to start service jboss.deployment.unit."errai-forge_demo.war".WeldStartService: org.jboss.msc.service.StartException in service jboss.deployment.unit."errai-forge_demo.war".WeldStartService: Failed to start service

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

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

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

      [INFO] at java.lang.Thread.run(Thread.java:744) [rt.jar:1.7.0_45]

      [INFO] Caused by: org.jboss.weld.exceptions.DeploymentException: Exception List with 2 exceptions:

      [INFO] Exception 0 :

      [INFO] org.jboss.weld.exceptions.DeploymentException: WELD-001408: Unsatisfied dependencies for type SyncBeanManager with qualifiers @Default

      [INFO]   at injection point [BackedAnnotatedField] @Inject org.jboss.errai.ioc.client.api.builtin.DisposerProvider.beanManager

      [INFO]   at org.jboss.errai.ioc.client.api.builtin.DisposerProvider.beanManager(DisposerProvider.java:0)

      [INFO]

      [INFO] at org.jboss.weld.bootstrap.Validator.validateInjectionPointForDeploymentProblems(Validator.java:368)

      [INFO] at org.jboss.weld.bootstrap.Validator.validateInjectionPoint(Validator.java:289)

      [INFO] at org.jboss.weld.bootstrap.Validator.validateGeneralBean(Validator.java:135)

      [INFO] at org.jboss.weld.bootstrap.Validator.validateRIBean(Validator.java:166)

      [INFO] at org.jboss.weld.bootstrap.Validator.validateBean(Validator.java:514)

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

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

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

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

      [INFO] at java.util.concurrent.FutureTask.run(FutureTask.java:262)

      [INFO] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

      [INFO] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

      [INFO] at java.lang.Thread.run(Thread.java:744)

      [INFO] Exception 0 :

      [INFO] org.jboss.weld.exceptions.DeploymentException: WELD-001408: Unsatisfied dependencies for type AsyncBeanManager with qualifiers @Default

      [INFO]   at injection point [BackedAnnotatedField] @Inject org.jboss.errai.ioc.client.api.builtin.AsyncDisposerProvider.beanManager

      [INFO]   at org.jboss.errai.ioc.client.api.builtin.AsyncDisposerProvider.beanManager(AsyncDisposerProvider.java:0)

      [INFO]

      [INFO] at org.jboss.weld.bootstrap.Validator.validateInjectionPointForDeploymentProblems(Validator.java:368)

      [INFO] at org.jboss.weld.bootstrap.Validator.validateInjectionPoint(Validator.java:289)

      [INFO] at org.jboss.weld.bootstrap.Validator.validateGeneralBean(Validator.java:135)

      [INFO] at org.jboss.weld.bootstrap.Validator.validateRIBean(Validator.java:166)

      [INFO] at org.jboss.weld.bootstrap.Validator.validateBean(Validator.java:514)

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

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

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

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

      [INFO] at java.util.concurrent.FutureTask.run(FutureTask.java:262)

      [INFO] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

      [INFO] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

      [INFO] at java.lang.Thread.run(Thread.java:744)

      [INFO]

      [INFO] at org.jboss.weld.bootstrap.ConcurrentValidator.validateBeans(ConcurrentValidator.java:76)

      [INFO] at org.jboss.weld.bootstrap.Validator.validateDeployment(Validator.java:475)

      [INFO] at org.jboss.weld.bootstrap.WeldStartup.validateBeans(WeldStartup.java:392)

      [INFO] at org.jboss.weld.bootstrap.WeldBootstrap.validateBeans(WeldBootstrap.java:85)

      [INFO] at org.jboss.as.weld.WeldStartService.start(WeldStartService.java:93)

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

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

      [INFO] ... 3 more

      [INFO]