3 Replies Latest reply on May 21, 2014 10:01 AM by Jonathan Fuerth

    Jetty 7+ with Errai

    xybrek Newbie

      Upon running with mvn clean install command our app throws this error during the process. Our app is using Jetty 9 from the eclipse maintained Jetty project. Also the app is using Errai withe version 3.0-SNAPSHOT. Also the GWT version is 2.6.1

       

      [INFO] INFO [MarshallerGeneratorFactory] generated marshaller factory class in 336ms.

      [ERROR] java.util.concurrent.ExecutionException: org.jboss.errai.ioc.rebind.ioc.exception.UnsatisfiedDependenciesException:  @> app.client.local.activity.widgets.activity.ActivityLogWidget

      [ERROR]  - field org.jboss.errai.codegen.meta.MetaField:app.client.local.activity.widgets.activity.ActivityLogWidget.strategyClientService could not be satisfied for type: app.client.local.strategy.StrategyClientService

      [ERROR]   Message: can't resolve bean: app.client.local.strategy.StrategyClientService ( @Default )

      [ERROR]

      [ERROR] at java.util.concurrent.FutureTask.report(FutureTask.java:122)

      [ERROR] at java.util.concurrent.FutureTask.get(FutureTask.java:188)

      [ERROR] at org.jboss.errai.config.rebind.AsyncGenerators$FutureWrapper.get(AsyncGenerators.java:112)

      [ERROR] at org.jboss.errai.config.rebind.AsyncGenerators$FutureWrapper.get(AsyncGenerators.java:86)

      [ERROR] at org.jboss.errai.config.rebind.AbstractAsyncGenerator.startAsyncGeneratorsAndWaitFor(AbstractAsyncGenerator.java:100)

      [ERROR] at org.jboss.errai.ioc.rebind.ioc.bootstrapper.IOCGenerator.generate(IOCGenerator.java:58)

      [ERROR] at com.google.gwt.core.ext.IncrementalGenerator.generateNonIncrementally(IncrementalGenerator.java:40)

      [ERROR] at com.google.gwt.dev.javac.StandardGeneratorContext.runGeneratorIncrementally(StandardGeneratorContext.java:676)

      [ERROR] at com.google.gwt.dev.cfg.RuleGenerateWith.realize(RuleGenerateWith.java:41)

      [ERROR] at com.google.gwt.dev.shell.StandardRebindOracle$Rebinder.rebind(StandardRebindOracle.java:79)

      [ERROR] at com.google.gwt.dev.shell.StandardRebindOracle.rebind(StandardRebindOracle.java:276)

      [ERROR] at com.google.gwt.dev.shell.StandardRebindOracle.rebind(StandardRebindOracle.java:265)

      [ERROR] at com.google.gwt.dev.DistillerRebindPermutationOracle.getAllPossibleRebindAnswers(DistillerRebindPermutationOracle.java:91)

      [ERROR] at com.google.gwt.dev.jjs.impl.UnifyAst$UnifyVisitor.handleGwtCreate(UnifyAst.java:387)

      [ERROR] at com.google.gwt.dev.jjs.impl.UnifyAst$UnifyVisitor.handleMagicMethodCall(UnifyAst.java:465)

      [ERROR] at com.google.gwt.dev.jjs.impl.UnifyAst$UnifyVisitor.endVisit(UnifyAst.java:255)

      [ERROR] at com.google.gwt.dev.jjs.ast.JMethodCall.traverse(JMethodCall.java:244)

      [ERROR] at com.google.gwt.dev.jjs.ast.JModVisitor.traverse(JModVisitor.java:361)

      [ERROR] at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:273)

      [ERROR] at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:265)

      [ERROR] at com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:117)

      [ERROR] at com.google.gwt.dev.jjs.ast.JCastOperation.traverse(JCastOperation.java:65)

      [ERROR] at com.google.gwt.dev.jjs.ast.JModVisitor.traverse(JModVisitor.java:361)

      [ERROR] at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:273)

      [ERROR] at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:265)

      [ERROR] at com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:117)

      [ERROR] at com.google.gwt.dev.jjs.ast.JDeclarationStatement.traverse(JDeclarationStatement.java:48)

      [ERROR] at com.google.gwt.dev.jjs.ast.JModVisitor$ListContextImmutable.traverse(JModVisitor.java:170)

      [ERROR] at com.google.gwt.dev.jjs.ast.JModVisitor.acceptWithInsertRemoveImmutable(JModVisitor.java:336)

      [ERROR] at com.google.gwt.dev.jjs.ast.JBlock.traverse(JBlock.java:83)

      [ERROR] at com.google.gwt.dev.jjs.ast.JModVisitor.traverse(JModVisitor.java:361)

      [ERROR] at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:273)

      [ERROR] at com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:138)

      [ERROR] at com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:134)

      [ERROR] at com.google.gwt.dev.jjs.ast.JTryStatement.traverse(JTryStatement.java:92)

      [ERROR] at com.google.gwt.dev.jjs.ast.JModVisitor$ListContextImmutable.traverse(JModVisitor.java:170)

      [ERROR] at com.google.gwt.dev.jjs.ast.JModVisitor.acceptWithInsertRemoveImmutable(JModVisitor.java:336)

      [ERROR] at com.google.gwt.dev.jjs.ast.JBlock.traverse(JBlock.java:83)

      [ERROR] at com.google.gwt.dev.jjs.ast.JModVisitor.traverse(JModVisitor.java:361)

      [ERROR] at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:273)

      [ERROR] at com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:138)

      [ERROR] at com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:134)

      [ERROR] at com.google.gwt.dev.jjs.ast.JMethodBody.traverse(JMethodBody.java:82)

      [ERROR] at com.google.gwt.dev.jjs.ast.JModVisitor.traverse(JModVisitor.java:361)

      [ERROR] at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:273)

      [ERROR] at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:265)

      [ERROR] at com.google.gwt.dev.jjs.ast.JMethod.visitChildren(JMethod.java:449)

      [ERROR] at com.google.gwt.dev.jjs.ast.JMethod.traverse(JMethod.java:418)

      [ERROR] at com.google.gwt.dev.jjs.ast.JModVisitor.traverse(JModVisitor.java:361)

      [ERROR] at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:273)

      [ERROR] at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:265)

      [ERROR] at com.google.gwt.dev.jjs.impl.UnifyAst.mainLoop(UnifyAst.java:940)

      [ERROR] at com.google.gwt.dev.jjs.impl.UnifyAst.exec(UnifyAst.java:665)

      [ERROR] at com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.precompile(JavaToJavaScriptCompiler.java:672)

      [ERROR] at com.google.gwt.dev.jjs.JavaScriptCompiler.precompile(JavaScriptCompiler.java:34)

      [ERROR] at com.google.gwt.dev.Precompile.precompile(Precompile.java:271)

      [ERROR] at com.google.gwt.dev.Precompile.precompile(Precompile.java:223)

      [ERROR] at com.google.gwt.dev.Precompile.precompile(Precompile.java:139)

      [ERROR] at com.google.gwt.dev.Compiler.run(Compiler.java:167)

      [ERROR] at com.google.gwt.dev.Compiler.run(Compiler.java:132)

      [ERROR] at com.google.gwt.dev.Compiler$1.run(Compiler.java:99)

      [ERROR] at com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java:55)

      [ERROR] at com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger(CompileTaskRunner.java:50)

      [ERROR] at com.google.gwt.dev.Compiler.main(Compiler.java:106)

      [ERROR] Caused by: org.jboss.errai.ioc.rebind.ioc.exception.UnsatisfiedDependenciesException:  @> app.client.local.activity.widgets.activity.ActivityLogWidget

      [ERROR]  - field org.jboss.errai.codegen.meta.MetaField:app.client.local.activity.widgets.activity.ActivityLogWidget.strategyClientService could not be satisfied for type: app.client.local.strategy.StrategyClientService

      [ERROR]   Message: can't resolve bean: app.client.local.strategy.StrategyClientService ( @Default )

      [ERROR]

      [ERROR] at org.jboss.errai.ioc.rebind.ioc.exception.UnsatisfiedDependenciesException.createWithSingleFieldFailure(UnsatisfiedDependenciesException.java:39)

      [ERROR] at org.jboss.errai.ioc.rebind.ioc.injector.api.InjectionTask.doTask(InjectionTask.java:119)

      [ERROR] at org.jboss.errai.ioc.rebind.ioc.injector.InjectUtil.handleInjectionTasks(InjectUtil.java:164)

      [ERROR] at org.jboss.errai.ioc.rebind.ioc.injector.InjectUtil.access$000(InjectUtil.java:73)

      [ERROR] at org.jboss.errai.ioc.rebind.ioc.injector.InjectUtil$2.generateConstructor(InjectUtil.java:151)

      [ERROR] at org.jboss.errai.ioc.rebind.ioc.injector.basic.TypeInjector.renderProvider(TypeInjector.java:138)

      [ERROR] at org.jboss.errai.ioc.rebind.ioc.bootstrapper.IOCConfigProcessor$3.handle(IOCConfigProcessor.java:404)

      [ERROR] at org.jboss.errai.ioc.rebind.ioc.bootstrapper.IOCConfigProcessor$7.process(IOCConfigProcessor.java:673)

      [ERROR] at org.jboss.errai.ioc.rebind.ioc.bootstrapper.IOCConfigProcessor.process(IOCConfigProcessor.java:619)

      [ERROR] at org.jboss.errai.ioc.rebind.ioc.bootstrapper.IOCBootstrapGenerator.generateBootstrappingClassSource(IOCBootstrapGenerator.java:293)

      [ERROR] at org.jboss.errai.ioc.rebind.ioc.bootstrapper.IOCBootstrapGenerator.generate(IOCBootstrapGenerator.java:143)

      [ERROR] at org.jboss.errai.ioc.rebind.ioc.bootstrapper.IOCGenerator.generate(IOCGenerator.java:68)

      [ERROR] at org.jboss.errai.config.rebind.AbstractAsyncGenerator$1.call(AbstractAsyncGenerator.java:43)

      [ERROR] at org.jboss.errai.config.rebind.AbstractAsyncGenerator$1.call(AbstractAsyncGenerator.java:40)

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

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

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

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

      [INFO] Compiling module app.App

      [INFO]    Computing all possible rebind results for 'org.jboss.errai.ioc.client.Bootstrapper'

      [INFO]       Rebinding org.jboss.errai.ioc.client.Bootstrapper

      [INFO]          Invoking generator org.jboss.errai.ioc.rebind.ioc.bootstrapper.IOCGenerator

      [INFO]             [ERROR] Error generating BootstrapperImpl

      [INFO] java.util.concurrent.ExecutionException: org.jboss.errai.ioc.rebind.ioc.exception.UnsatisfiedDependenciesException:  @> app.client.local.activity.widgets.activity.ActivityLogWidget

      [INFO]  - field org.jboss.errai.codegen.meta.MetaField:app.client.local.activity.widgets.activity.ActivityLogWidget.strategyClientService could not be satisfied for type: app.client.local.strategy.StrategyClientService

      [INFO]   Message: can't resolve bean: app.client.local.strategy.StrategyClientService ( @Default )

      [INFO]

      [INFO] at java.util.concurrent.FutureTask.report(FutureTask.java:122)

      [INFO] at java.util.concurrent.FutureTask.get(FutureTask.java:188)

      [INFO] at org.jboss.errai.config.rebind.AsyncGenerators$FutureWrapper.get(AsyncGenerators.java:112)

      [INFO] at org.jboss.errai.config.rebind.AsyncGenerators$FutureWrapper.get(AsyncGenerators.java:86)

      [INFO] at org.jboss.errai.config.rebind.AbstractAsyncGenerator.startAsyncGeneratorsAndWaitFor(AbstractAsyncGenerator.java:100)

      [INFO] at org.jboss.errai.ioc.rebind.ioc.bootstrapper.IOCGenerator.generate(IOCGenerator.java:58)

      [INFO] at com.google.gwt.core.ext.IncrementalGenerator.generateNonIncrementally(IncrementalGenerator.java:40)

      [INFO] at com.google.gwt.dev.javac.StandardGeneratorContext.runGeneratorIncrementally(StandardGeneratorContext.java:676)

      [INFO] at com.google.gwt.dev.cfg.RuleGenerateWith.realize(RuleGenerateWith.java:41)

      [INFO] at com.google.gwt.dev.shell.StandardRebindOracle$Rebinder.rebind(StandardRebindOracle.java:79)

      [INFO] at com.google.gwt.dev.shell.StandardRebindOracle.rebind(StandardRebindOracle.java:276)

      [INFO] at com.google.gwt.dev.shell.StandardRebindOracle.rebind(StandardRebindOracle.java:265)

      [INFO] at com.google.gwt.dev.DistillerRebindPermutationOracle.getAllPossibleRebindAnswers(DistillerRebindPermutationOracle.java:91)

      [INFO] at com.google.gwt.dev.jjs.impl.UnifyAst$UnifyVisitor.handleGwtCreate(UnifyAst.java:387)

      [INFO] at com.google.gwt.dev.jjs.impl.UnifyAst$UnifyVisitor.handleMagicMethodCall(UnifyAst.java:465)

      [INFO] at com.google.gwt.dev.jjs.impl.UnifyAst$UnifyVisitor.endVisit(UnifyAst.java:255)

      [INFO] at com.google.gwt.dev.jjs.ast.JMethodCall.traverse(JMethodCall.java:244)

      [INFO] at com.google.gwt.dev.jjs.ast.JModVisitor.traverse(JModVisitor.java:361)

      [INFO] at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:273)

      [INFO] at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:265)

      [INFO] at com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:117)

      [INFO] at com.google.gwt.dev.jjs.ast.JCastOperation.traverse(JCastOperation.java:65)

      [INFO] at com.google.gwt.dev.jjs.ast.JModVisitor.traverse(JModVisitor.java:361)

      [INFO] at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:273)

      [INFO] at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:265)

      [INFO] at com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:117)

      [INFO] at com.google.gwt.dev.jjs.ast.JDeclarationStatement.traverse(JDeclarationStatement.java:48)

      [INFO] at com.google.gwt.dev.jjs.ast.JModVisitor$ListContextImmutable.traverse(JModVisitor.java:170)

      [INFO] at com.google.gwt.dev.jjs.ast.JModVisitor.acceptWithInsertRemoveImmutable(JModVisitor.java:336)

      [INFO] at com.google.gwt.dev.jjs.ast.JBlock.traverse(JBlock.java:83)

      [INFO] at com.google.gwt.dev.jjs.ast.JModVisitor.traverse(JModVisitor.java:361)

      [INFO] at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:273)

      [INFO] at com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:138)

      [INFO] at com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:134)

      [INFO] at com.google.gwt.dev.jjs.ast.JTryStatement.traverse(JTryStatement.java:92)

      [INFO] at com.google.gwt.dev.jjs.ast.JModVisitor$ListContextImmutable.traverse(JModVisitor.java:170)

      [INFO] at com.google.gwt.dev.jjs.ast.JModVisitor.acceptWithInsertRemoveImmutable(JModVisitor.java:336)

      [INFO] at com.google.gwt.dev.jjs.ast.JBlock.traverse(JBlock.java:83)

      [INFO] at com.google.gwt.dev.jjs.ast.JModVisitor.traverse(JModVisitor.java:361)

      [INFO] at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:273)

      [INFO] at com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:138)

      [INFO] at com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:134)

      [INFO] at com.google.gwt.dev.jjs.ast.JMethodBody.traverse(JMethodBody.java:82)

      [INFO] at com.google.gwt.dev.jjs.ast.JModVisitor.traverse(JModVisitor.java:361)

      [INFO] at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:273)

      [INFO] at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:265)

      [INFO] at com.google.gwt.dev.jjs.ast.JMethod.visitChildren(JMethod.java:449)

      [INFO] at com.google.gwt.dev.jjs.ast.JMethod.traverse(JMethod.java:418)

      [INFO] at com.google.gwt.dev.jjs.ast.JModVisitor.traverse(JModVisitor.java:361)

      [INFO] at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:273)

      [INFO] at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:265)

      [INFO] at com.google.gwt.dev.jjs.impl.UnifyAst.mainLoop(UnifyAst.java:940)

      [INFO] at com.google.gwt.dev.jjs.impl.UnifyAst.exec(UnifyAst.java:665)

      [INFO] at com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.precompile(JavaToJavaScriptCompiler.java:672)

      [INFO] at com.google.gwt.dev.jjs.JavaScriptCompiler.precompile(JavaScriptCompiler.java:34)

      [INFO] at com.google.gwt.dev.Precompile.precompile(Precompile.java:271)

      [INFO] at com.google.gwt.dev.Precompile.precompile(Precompile.java:223)

      [INFO] at com.google.gwt.dev.Precompile.precompile(Precompile.java:139)

      [INFO] at com.google.gwt.dev.Compiler.run(Compiler.java:167)

      [INFO] at com.google.gwt.dev.Compiler.run(Compiler.java:132)

      [INFO] at com.google.gwt.dev.Compiler$1.run(Compiler.java:99)

      [INFO] at com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java:55)

      [INFO] at com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger(CompileTaskRunner.java:50)

      [INFO] at com.google.gwt.dev.Compiler.main(Compiler.java:106)

      [INFO] Caused by: org.jboss.errai.ioc.rebind.ioc.exception.UnsatisfiedDependenciesException:  @> app.client.local.activity.widgets.activity.ActivityLogWidget

      [INFO]  - field org.jboss.errai.codegen.meta.MetaField:app.client.local.activity.widgets.activity.ActivityLogWidget.strategyClientService could not be satisfied for type: app.client.local.strategy.StrategyClientService

      [INFO]   Message: can't resolve bean: app.client.local.strategy.StrategyClientService ( @Default )

      [INFO]

      [INFO] at org.jboss.errai.ioc.rebind.ioc.exception.UnsatisfiedDependenciesException.createWithSingleFieldFailure(UnsatisfiedDependenciesException.java:39)

      [INFO] at org.jboss.errai.ioc.rebind.ioc.injector.api.InjectionTask.doTask(InjectionTask.java:119)

      [INFO] at org.jboss.errai.ioc.rebind.ioc.injector.InjectUtil.handleInjectionTasks(InjectUtil.java:164)

      [INFO] at org.jboss.errai.ioc.rebind.ioc.injector.InjectUtil.access$000(InjectUtil.java:73)

      [INFO] at org.jboss.errai.ioc.rebind.ioc.injector.InjectUtil$2.generateConstructor(InjectUtil.java:151)

      [INFO] at org.jboss.errai.ioc.rebind.ioc.injector.basic.TypeInjector.renderProvider(TypeInjector.java:138)

      [INFO] at org.jboss.errai.ioc.rebind.ioc.bootstrapper.IOCConfigProcessor$3.handle(IOCConfigProcessor.java:404)

      [INFO] at org.jboss.errai.ioc.rebind.ioc.bootstrapper.IOCConfigProcessor$7.process(IOCConfigProcessor.java:673)

      [INFO] at org.jboss.errai.ioc.rebind.ioc.bootstrapper.IOCConfigProcessor.process(IOCConfigProcessor.java:619)

      [INFO] at org.jboss.errai.ioc.rebind.ioc.bootstrapper.IOCBootstrapGenerator.generateBootstrappingClassSource(IOCBootstrapGenerator.java:293)

      [INFO] at org.jboss.errai.ioc.rebind.ioc.bootstrapper.IOCBootstrapGenerator.generate(IOCBootstrapGenerator.java:143)

      [INFO] at org.jboss.errai.ioc.rebind.ioc.bootstrapper.IOCGenerator.generate(IOCGenerator.java:68)

      [INFO] at org.jboss.errai.config.rebind.AbstractAsyncGenerator$1.call(AbstractAsyncGenerator.java:43)

      [INFO] at org.jboss.errai.config.rebind.AbstractAsyncGenerator$1.call(AbstractAsyncGenerator.java:40)

      [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]    [WARN] For the following type(s), generated source was never committed (did you forget to call commit()?)

      [INFO]       [WARN] org.jboss.errai.ioc.client.BootstrapperImpl

      [INFO]    [ERROR] An internal compiler exception occurred

      [INFO] com.google.gwt.dev.jjs.InternalCompilerException: Unexpected error during visit.

      [INFO] at com.google.gwt.dev.jjs.ast.JVisitor.translateException(JVisitor.java:110)

      [INFO] at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:276)

      [INFO] at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:265)

      [INFO] at com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:117)

      [INFO] at com.google.gwt.dev.jjs.ast.JCastOperation.traverse(JCastOperation.java:65)

      [INFO] at com.google.gwt.dev.jjs.ast.JModVisitor.traverse(JModVisitor.java:361)

      [INFO] at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:273)

      [INFO] at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:265)

      [INFO] at com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:117)

      [INFO] at com.google.gwt.dev.jjs.ast.JDeclarationStatement.traverse(JDeclarationStatement.java:48)

      [INFO] at com.google.gwt.dev.jjs.ast.JModVisitor$ListContextImmutable.traverse(JModVisitor.java:170)

      [INFO] at com.google.gwt.dev.jjs.ast.JModVisitor.acceptWithInsertRemoveImmutable(JModVisitor.java:336)

      [INFO] at com.google.gwt.dev.jjs.ast.JBlock.traverse(JBlock.java:83)

      [INFO] at com.google.gwt.dev.jjs.ast.JModVisitor.traverse(JModVisitor.java:361)

      [INFO] at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:273)

      [INFO] at com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:138)

      [INFO] at com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:134)

      [INFO] at com.google.gwt.dev.jjs.ast.JTryStatement.traverse(JTryStatement.java:92)

      [INFO] at com.google.gwt.dev.jjs.ast.JModVisitor$ListContextImmutable.traverse(JModVisitor.java:170)

      [INFO] at com.google.gwt.dev.jjs.ast.JModVisitor.acceptWithInsertRemoveImmutable(JModVisitor.java:336)

      [INFO] at com.google.gwt.dev.jjs.ast.JBlock.traverse(JBlock.java:83)

      [INFO] at com.google.gwt.dev.jjs.ast.JModVisitor.traverse(JModVisitor.java:361)

      [INFO] at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:273)

      [INFO] at com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:138)

      [INFO] at com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:134)

      [INFO] at com.google.gwt.dev.jjs.ast.JMethodBody.traverse(JMethodBody.java:82)

      [INFO] at com.google.gwt.dev.jjs.ast.JModVisitor.traverse(JModVisitor.java:361)

      [INFO] at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:273)

      [INFO] at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:265)

      [INFO] at com.google.gwt.dev.jjs.ast.JMethod.visitChildren(JMethod.java:449)

      [INFO] at com.google.gwt.dev.jjs.ast.JMethod.traverse(JMethod.java:418)

      [INFO] at com.google.gwt.dev.jjs.ast.JModVisitor.traverse(JModVisitor.java:361)

      [INFO] at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:273)

      [INFO] at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:265)

      [INFO] at com.google.gwt.dev.jjs.impl.UnifyAst.mainLoop(UnifyAst.java:940)

      [INFO] at com.google.gwt.dev.jjs.impl.UnifyAst.exec(UnifyAst.java:665)

      [INFO] at com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.precompile(JavaToJavaScriptCompiler.java:672)

      [INFO] at com.google.gwt.dev.jjs.JavaScriptCompiler.precompile(JavaScriptCompiler.java:34)

      [INFO] at com.google.gwt.dev.Precompile.precompile(Precompile.java:271)

      [INFO] at com.google.gwt.dev.Precompile.precompile(Precompile.java:223)

      [INFO] at com.google.gwt.dev.Precompile.precompile(Precompile.java:139)

      [INFO] at com.google.gwt.dev.Compiler.run(Compiler.java:167)

      [INFO] at com.google.gwt.dev.Compiler.run(Compiler.java:132)

      [INFO] at com.google.gwt.dev.Compiler$1.run(Compiler.java:99)

      [INFO] at com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java:55)

      [INFO] at com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger(CompileTaskRunner.java:50)

      [INFO] at com.google.gwt.dev.Compiler.main(Compiler.java:106)

      [INFO] Caused by: java.lang.NoClassDefFoundError: org.jboss.errai.ioc.client.BootstrapperImpl

      [INFO] at com.google.gwt.dev.jjs.impl.UnifyAst.searchForTypeBySource(UnifyAst.java:1024)

      [INFO] at com.google.gwt.dev.jjs.impl.UnifyAst.access$1600(UnifyAst.java:124)

      [INFO] at com.google.gwt.dev.jjs.impl.UnifyAst$UnifyVisitor.handleGwtCreate(UnifyAst.java:396)

      [INFO] at com.google.gwt.dev.jjs.impl.UnifyAst$UnifyVisitor.handleMagicMethodCall(UnifyAst.java:465)

      [INFO] at com.google.gwt.dev.jjs.impl.UnifyAst$UnifyVisitor.endVisit(UnifyAst.java:255)

      [INFO] at com.google.gwt.dev.jjs.ast.JMethodCall.traverse(JMethodCall.java:244)

      [INFO] at com.google.gwt.dev.jjs.ast.JModVisitor.traverse(JModVisitor.java:361)

      [INFO] at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:273)

      [INFO] ... 45 more

      [INFO]       [ERROR] at Container.java(64): GWT.create(Bootstrapper.class)

      [INFO]       [ERROR] at Container.java(64): (Bootstrapper) GWT.create(Bootstrapper.class)

      [INFO]       [ERROR] at Container.java(64): final Bootstrapper bootstrapper = (Bootstrapper) GWT.create(Bootstrapper.class)

      [INFO]       [ERROR] at Container.java(48): {

      [INFO]   Container.init = false;

      [INFO]   QualifierUtil.initFromFactoryProvider(new Container$1(this));

      [INFO]   Container.logger.info("IOC bootstrapper successfully initialized.");

      [INFO]   if (((IOCEnvironment) new IOCEnvironmentImpl()).isAsync()) {

      [INFO]     Container.logger.info("bean manager initialized in async mode.");

      [INFO]   }

      [INFO]   final Bootstrapper bootstrapper = (Bootstrapper) GWT.create(Bootstrapper.class);

      [INFO]   Container.injectionContext = bootstrapper.bootstrapContainer();

      [INFO]   final CreationalContext rootContext = Container.injectionContext.getRootContext();

      [INFO]   if (rootContext instanceof AsyncCreationalContext) {

      [INFO]     ((AsyncCreationalContext) rootContext).finish(new Container$2(this));

      [INFO]   } else {

      [INFO]     ((SimpleCreationalContext) rootContext).finish();

      [INFO]     this.finishInit();

      [INFO]   }

      [INFO] }

      [INFO]       [ERROR] at Container.java(48): try {

      [INFO]   Container.init = false;

      [INFO]   QualifierUtil.initFromFactoryProvider(new Container$1(this));

      [INFO]   Container.logger.info("IOC bootstrapper successfully initialized.");

      [INFO]   if (((IOCEnvironment) new IOCEnvironmentImpl()).isAsync()) {

      [INFO]     Container.logger.info("bean manager initialized in async mode.");

      [INFO]   }

      [INFO]   final Bootstrapper bootstrapper = (Bootstrapper) GWT.create(Bootstrapper.class);

      [INFO]   Container.injectionContext = bootstrapper.bootstrapContainer();

      [INFO]   final CreationalContext rootContext = Container.injectionContext.getRootContext();

      [INFO]   if (rootContext instanceof AsyncCreationalContext) {

      [INFO]     ((AsyncCreationalContext) rootContext).finish(new Container$2(this));

      [INFO]   } else {

      [INFO]     ((SimpleCreationalContext) rootContext).finish();

      [INFO]     this.finishInit();

      [INFO]   }

      [INFO] } catch (Throwable t) {

      [INFO]   t.printStackTrace();

      [INFO]   throw new RuntimeException("critical error in IOC container bootstrap: " + t.getClass().getName() + ": " + t.getMessage());

      [INFO] }

      [INFO]       [ERROR] at Container.java(47): {

      [INFO]   try {

      [INFO]     Container.init = false;

      [INFO]     QualifierUtil.initFromFactoryProvider(new Container$1(this));

      [INFO]     Container.logger.info("IOC bootstrapper successfully initialized.");

      [INFO]     if (((IOCEnvironment) new IOCEnvironmentImpl()).isAsync()) {

      [INFO]       Container.logger.info("bean manager initialized in async mode.");

      [INFO]     }

      [INFO]     final Bootstrapper bootstrapper = (Bootstrapper) GWT.create(Bootstrapper.class);

      [INFO]     Container.injectionContext = bootstrapper.bootstrapContainer();

      [INFO]     final CreationalContext rootContext = Container.injectionContext.getRootContext();

      [INFO]     if (rootContext instanceof AsyncCreationalContext) {

      [INFO]       ((AsyncCreationalContext) rootContext).finish(new Container$2(this));

      [INFO]     } else {

      [INFO]       ((SimpleCreationalContext) rootContext).finish();

      [INFO]       this.finishInit();

      [INFO]     }

      [INFO]   } catch (Throwable t) {

      [INFO]     t.printStackTrace();

      [INFO]     throw new RuntimeException("critical error in IOC container bootstrap: " + t.getClass().getName() + ": " + t.getMessage());

      [INFO]   }

      [INFO] }

      [INFO]       [ERROR] at Container.java(47): {

      [INFO]   try {

      [INFO]     Container.init = false;

      [INFO]     QualifierUtil.initFromFactoryProvider(new Container$1(this));

      [INFO]     Container.logger.info("IOC bootstrapper successfully initialized.");

      [INFO]     if (((IOCEnvironment) new IOCEnvironmentImpl()).isAsync()) {

      [INFO]       Container.logger.info("bean manager initialized in async mode.");

      [INFO]     }

      [INFO]     final Bootstrapper bootstrapper = (Bootstrapper) GWT.create(Bootstrapper.class);

      [INFO]     Container.injectionContext = bootstrapper.bootstrapContainer();

      [INFO]     final CreationalContext rootContext = Container.injectionContext.getRootContext();

      [INFO]     if (rootContext instanceof AsyncCreationalContext) {

      [INFO]       ((AsyncCreationalContext) rootContext).finish(new Container$2(this));

      [INFO]     } else {

      [INFO]       ((SimpleCreationalContext) rootContext).finish();

      [INFO]       this.finishInit();

      [INFO]     }

      [INFO]   } catch (Throwable t) {

      [INFO]     t.printStackTrace();

      [INFO]     throw new RuntimeException("critical error in IOC container bootstrap: " + t.getClass().getName() + ": " + t.getMessage());

      [INFO]   }

      [INFO] }

      [INFO]       [ERROR] at Container.java(47): public void bootstrapContainer();

      [INFO]

      [INFO] ------------------------------------------------------------------------

      [INFO] BUILD FAILURE

      [INFO] ------------------------------------------------------------------------

        • 1. Re: Jetty 7+ with Errai
          Jonathan Fuerth Master

          The problem that caused this error is not related to Jetty at all. This error says that the type app.client.local.activity.widgets.activity.ActivityLogWidget has a field @Inject StrategyClientService strategyClientService, but the injected type app.client.local.strategy.StrategyClientService couldn't be found.

           

          Are you sure app.client.local.strategy.StrategyClientService is in a GWT module visible to app.client.local.activity.widgets.activity.ActivityLogWidget? Do both GWT modules contain an ErraiApp.properties at their classpath root, as well as the Java source code along with compiled classes?

           

          -Jonathan

          • 2. Re: Jetty 7+ with Errai
            xybrek Newbie

            Yes, this happened when I updated to Jetty 9 and GWT 2.6.1, the same code was previously compiling.. That is we have a development branch with git that compiles well, and we created a branch from it, edited the POM for use with Eclipse Jetty 9 and removed 'errai-cdi-jetty' while keeping the Errai version to 3.0-SNAPSHOT (Described here). The development branch installs and this new branch does not compile.

             

            Update:

             

            I think the issue is related to https://issues.jboss.org/browse/ERRAI-340

             

            So I added @ApplicationScoped for StrategyClientServiceImpl but still the error persists.

            • 3. Re: Jetty 7+ with Errai
              Jonathan Fuerth Master

              Okay, that's good info. Are you absolutely sure the only changes between the working branch of your project and the one that causes this error are:

               

              1. Change ${gwt.version} from (unknown) to 2.6.1

              2. Remove dependency on errai-cdi-jetty

               

              You must also have deleted the line <server>org.jboss.errai.cdi.server.gwt.JettyLauncher</server> from your gwt-maven-plugin configuration. I didn't see you mention that, but if you left it there, you should be getting a fatal error from "mvn clean gwt:run".

               

              I still don't have enough information to help you here. If you could post a project somewhere that exhibits this problem, I'd be happy to take a close look at it and figure out what's wrong.

               

              -Jonathan