[forge-dev] [JBoss JIRA] Closed: (SEAMFORGE-45) Building a newly generated errai-cdi project results in errors

Rodney Russ (JIRA) jira-events at lists.jboss.org
Thu Mar 31 00:33:38 EDT 2011


     [ https://issues.jboss.org/browse/SEAMFORGE-45?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rodney Russ closed SEAMFORGE-45.
--------------------------------



> Building a newly generated errai-cdi project results in errors
> --------------------------------------------------------------
>
>                 Key: SEAMFORGE-45
>                 URL: https://issues.jboss.org/browse/SEAMFORGE-45
>             Project: Seam Forge
>          Issue Type: Bug
>            Reporter: Shane Bryzak
>            Assignee: Christopher Brock
>
> A new errai-cdi application is generated with Forge by executing the following forge command:
> gen errai-cdi gwtHelloworld org.jboss.seam.example.gwt.helloworld
> After updating the errai version to 1.1-CR1 (the default version 1.2.1 does not exist in the JBoss Nexus repository), the following error is thrown while building the project:
> [INFO]                Generating Extensions Bootstrapper...
> [ERROR] SLF4J: Class path contains multiple SLF4J bindings.
> [ERROR] SLF4J: Found binding in [jar:file:/home/shane/.m2/repository/org/slf4j/slf4j-log4j12/1.5.10/slf4j-log4j12-1.5.10.jar!/org/slf4j/impl/StaticLoggerBinder.class]
> [ERROR] SLF4J: Found binding in [jar:file:/home/shane/.m2/repository/org/jboss/weld/servlet/weld-servlet/1.1.0.Final/weld-servlet-1.1.0.Final.jar!/org/slf4j/impl/StaticLoggerBinder.class]
> [ERROR] SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
> [ERROR] org.jboss.errai.ioc.rebind.ioc.InjectionFailure: attempt to inject on a non-public field: org.jboss.seam.example.gwt.helloworld.client.GwtHelloworld.messageEvent
> [ERROR] 	at org.jboss.errai.ioc.rebind.ioc.InjectUtil.scanForTasks(InjectUtil.java:138)
> [ERROR] 	at org.jboss.errai.ioc.rebind.ioc.InjectUtil.getConstructionStrategy(InjectUtil.java:43)
> [ERROR] 	at org.jboss.errai.ioc.rebind.ioc.TypeInjector.getType(TypeInjector.java:52)
> [ERROR] 	at org.jboss.errai.ioc.rebind.ioc.InjectorFactory.generateSingleton(InjectorFactory.java:44)
> [ERROR] 	at org.jboss.errai.ioc.rebind.IOCGenerator.generateWithSingletonSemantics(IOCGenerator.java:313)
> [ERROR] 	at org.jboss.errai.ioc.rebind.IOCGenerator$1$1.run(IOCGenerator.java:351)
> [ERROR] 	at org.jboss.errai.ioc.rebind.IOCGenerator.runAllDeferred(IOCGenerator.java:330)
> [ERROR] 	at org.jboss.errai.ioc.rebind.IOCGenerator.generateExtensions(IOCGenerator.java:301)
> [ERROR] 	at org.jboss.errai.ioc.rebind.IOCGenerator.generateIOCBootstrapClass(IOCGenerator.java:146)
> [ERROR] 	at org.jboss.errai.ioc.rebind.IOCGenerator.generate(IOCGenerator.java:97)
> [ERROR] 	at com.google.gwt.dev.javac.StandardGeneratorContext.runGenerator(StandardGeneratorContext.java:427)
> [ERROR] 	at com.google.gwt.dev.cfg.RuleGenerateWith.realize(RuleGenerateWith.java:39)
> [ERROR] 	at com.google.gwt.dev.shell.StandardRebindOracle$Rebinder.tryRebind(StandardRebindOracle.java:115)
> [ERROR] 	at com.google.gwt.dev.shell.StandardRebindOracle$Rebinder.rebind(StandardRebindOracle.java:58)
> [ERROR] 	at com.google.gwt.dev.shell.StandardRebindOracle.rebind(StandardRebindOracle.java:161)
> [ERROR] 	at com.google.gwt.dev.shell.StandardRebindOracle.rebind(StandardRebindOracle.java:150)
> [ERROR] 	at com.google.gwt.dev.Precompile$DistillerRebindPermutationOracle.getAllPossibleRebindAnswers(Precompile.java:345)
> [ERROR] 	at com.google.gwt.dev.jdt.WebModeCompilerFrontEnd.doFindAdditionalTypesUsingRebinds(WebModeCompilerFrontEnd.java:106)
> [ERROR] 	at com.google.gwt.dev.jdt.AbstractCompiler$Sandbox$CompilerImpl.process(AbstractCompiler.java:254)
> [ERROR] 	at org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:444)
> [ERROR] 	at com.google.gwt.dev.jdt.AbstractCompiler$Sandbox$CompilerImpl.compile(AbstractCompiler.java:175)
> [ERROR] 	at com.google.gwt.dev.jdt.AbstractCompiler$Sandbox$CompilerImpl.compile(AbstractCompiler.java:288)
> [ERROR] 	at com.google.gwt.dev.jdt.AbstractCompiler$Sandbox$CompilerImpl.access$400(AbstractCompiler.java:145)
> [ERROR] 	at com.google.gwt.dev.jdt.AbstractCompiler.compile(AbstractCompiler.java:632)
> [ERROR] 	at com.google.gwt.dev.jdt.BasicWebModeCompiler.getCompilationUnitDeclarations(BasicWebModeCompiler.java:124)
> [ERROR] 	at com.google.gwt.dev.jdt.WebModeCompilerFrontEnd.getCompilationUnitDeclarations(WebModeCompilerFrontEnd.java:54)
> [ERROR] 	at com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.precompile(JavaToJavaScriptCompiler.java:484)
> [ERROR] 	at com.google.gwt.dev.jjs.JavaScriptCompiler.precompile(JavaScriptCompiler.java:32)
> [ERROR] 	at com.google.gwt.dev.Precompile.precompile(Precompile.java:545)
> [ERROR] 	at com.google.gwt.dev.Precompile.precompile(Precompile.java:466)
> [ERROR] 	at com.google.gwt.dev.Compiler.run(Compiler.java:205)
> [ERROR] 	at com.google.gwt.dev.Compiler.run(Compiler.java:177)
> [ERROR] 	at com.google.gwt.dev.Compiler$1.run(Compiler.java:149)
> [ERROR] 	at com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java:87)
> [ERROR] 	at com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger(CompileTaskRunner.java:81)
> [ERROR] 	at com.google.gwt.dev.Compiler.main(Compiler.java:156)
> [INFO]                [ERROR] Error generating extensions
> [INFO] org.jboss.errai.ioc.rebind.ioc.InjectionFailure: attempt to inject on a non-public field: org.jboss.seam.example.gwt.helloworld.client.GwtHelloworld.messageEvent
> [INFO] 	at org.jboss.errai.ioc.rebind.ioc.InjectUtil.scanForTasks(InjectUtil.java:138)
> [INFO] 	at org.jboss.errai.ioc.rebind.ioc.InjectUtil.getConstructionStrategy(InjectUtil.java:43)
> [INFO] 	at org.jboss.errai.ioc.rebind.ioc.TypeInjector.getType(TypeInjector.java:52)
> [INFO] 	at org.jboss.errai.ioc.rebind.ioc.InjectorFactory.generateSingleton(InjectorFactory.java:44)
> [INFO] 	at org.jboss.errai.ioc.rebind.IOCGenerator.generateWithSingletonSemantics(IOCGenerator.java:313)
> [INFO] 	at org.jboss.errai.ioc.rebind.IOCGenerator$1$1.run(IOCGenerator.java:351)
> [INFO] 	at org.jboss.errai.ioc.rebind.IOCGenerator.runAllDeferred(IOCGenerator.java:330)
> [INFO] 	at org.jboss.errai.ioc.rebind.IOCGenerator.generateExtensions(IOCGenerator.java:301)
> [INFO] 	at org.jboss.errai.ioc.rebind.IOCGenerator.generateIOCBootstrapClass(IOCGenerator.java:146)
> [INFO] 	at org.jboss.errai.ioc.rebind.IOCGenerator.generate(IOCGenerator.java:97)
> [INFO] 	at com.google.gwt.dev.javac.StandardGeneratorContext.runGenerator(StandardGeneratorContext.java:427)
> [INFO] 	at com.google.gwt.dev.cfg.RuleGenerateWith.realize(RuleGenerateWith.java:39)
> [INFO] 	at com.google.gwt.dev.shell.StandardRebindOracle$Rebinder.tryRebind(StandardRebindOracle.java:115)
> [INFO] 	at com.google.gwt.dev.shell.StandardRebindOracle$Rebinder.rebind(StandardRebindOracle.java:58)
> [INFO] 	at com.google.gwt.dev.shell.StandardRebindOracle.rebind(StandardRebindOracle.java:161)
> [INFO] 	at com.google.gwt.dev.shell.StandardRebindOracle.rebind(StandardRebindOracle.java:150)
> [INFO] 	at com.google.gwt.dev.Precompile$DistillerRebindPermutationOracle.getAllPossibleRebindAnswers(Precompile.java:345)
> [INFO] 	at com.google.gwt.dev.jdt.WebModeCompilerFrontEnd.doFindAdditionalTypesUsingRebinds(WebModeCompilerFrontEnd.java:106)
> [INFO] 	at com.google.gwt.dev.jdt.AbstractCompiler$Sandbox$CompilerImpl.process(AbstractCompiler.java:254)
> [INFO] 	at org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:444)
> [INFO] 	at com.google.gwt.dev.jdt.AbstractCompiler$Sandbox$CompilerImpl.compile(AbstractCompiler.java:175)
> [INFO] 	at com.google.gwt.dev.jdt.AbstractCompiler$Sandbox$CompilerImpl.compile(AbstractCompiler.java:288)
> [INFO] 	at com.google.gwt.dev.jdt.AbstractCompiler$Sandbox$CompilerImpl.access$400(AbstractCompiler.java:145)
> [INFO] 	at com.google.gwt.dev.jdt.AbstractCompiler.compile(AbstractCompiler.java:632)
> [INFO] 	at com.google.gwt.dev.jdt.BasicWebModeCompiler.getCompilationUnitDeclarations(BasicWebModeCompiler.java:124)
> [INFO] 	at com.google.gwt.dev.jdt.WebModeCompilerFrontEnd.getCompilationUnitDeclarations(WebModeCompilerFrontEnd.java:54)
> [INFO] 	at com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.precompile(JavaToJavaScriptCompiler.java:484)
> [INFO] 	at com.google.gwt.dev.jjs.JavaScriptCompiler.precompile(JavaScriptCompiler.java:32)
> [INFO] 	at com.google.gwt.dev.Precompile.precompile(Precompile.java:545)
> [INFO] 	at com.google.gwt.dev.Precompile.precompile(Precompile.java:466)
> [INFO] 	at com.google.gwt.dev.Compiler.run(Compiler.java:205)
> [INFO] 	at com.google.gwt.dev.Compiler.run(Compiler.java:177)
> [INFO] 	at com.google.gwt.dev.Compiler$1.run(Compiler.java:149)
> [INFO] 	at com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java:87)
> [INFO] 	at com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger(CompileTaskRunner.java:81)
> [INFO] 	at com.google.gwt.dev.Compiler.main(Compiler.java:156)
> [INFO]          Rebinding org.jboss.errai.ioc.client.api.Bootstrapper
> [INFO]             Invoking generator org.jboss.errai.ioc.rebind.IOCGenerator
> [INFO]                Generating Extensions Bootstrapper...
> [INFO]          Rebinding org.jboss.errai.ioc.client.api.Bootstrapper
> [INFO]             Invoking generator org.jboss.errai.ioc.rebind.IOCGenerator
> [INFO]                Generating Extensions Bootstrapper...
> [INFO]          Rebinding org.jboss.errai.ioc.client.api.Bootstrapper
> [INFO]             Invoking generator org.jboss.errai.ioc.rebind.IOCGenerator
> [INFO]                Generating Extensions Bootstrapper...
> [INFO]          Rebinding org.jboss.errai.ioc.client.api.Bootstrapper
> [INFO]             Invoking generator org.jboss.errai.ioc.rebind.IOCGenerator
> [INFO]                Generating Extensions Bootstrapper...
> [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.api.BootstrapperImpl
> [INFO]    [ERROR] Errors in 'jar:file:/home/shane/.m2/repository/org/jboss/errai/errai-ioc/1.1-CR1/errai-ioc-1.1-CR1.jar!/org/jboss/errai/ioc/client/Container.java'
> [INFO]       [ERROR] Line 29:  Rebind result 'org.jboss.errai.ioc.client.api.BootstrapperImpl' could not be found

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the forge-dev mailing list