1 Reply Latest reply on Jan 4, 2012 3:01 PM by Mike Brock

    Project build with errai 2.0-SNAPSHOT libs failed - issue 2

    slawek t Novice

      Today, I was building my project and everything was OK until a moment ago, when some new snapshots appeared and my maven during the project building says:

       

       

       

      [INFO]                [ERROR] Error generating extensions

      [INFO] java.lang.NoSuchMethodError: org.jboss.errai.codegen.framework.builder.ClassStructureBuilder.privateField(Ljava/lang/String;Ljava/lang/Class;)Lorg/jboss/errai/codegen/framew

      ork/builder/FieldBuildInitializer;

      [INFO]     at org.jboss.errai.bus.rebind.RpcProxyGenerator.generate(RpcProxyGenerator.java:52)

      [INFO]     at org.jboss.errai.bus.rebind.RpcProxyLoaderGenerator.generate(RpcProxyLoaderGenerator.java:122)

      [INFO]     at org.jboss.errai.bus.rebind.RpcProxyLoaderGenerator.generate(RpcProxyLoaderGenerator.java:101)

      [INFO]     at org.jboss.errai.bus.rebind.RpcProxyLoaderGenerator.generate(RpcProxyLoaderGenerator.java:82)

      [INFO]     at com.google.gwt.core.ext.GeneratorExtWrapper.generate(GeneratorExtWrapper.java:48)

      [INFO]     at com.google.gwt.core.ext.GeneratorExtWrapper.generateIncrementally(GeneratorExtWrapper.java:60)

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

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

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

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

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

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

      [INFO]     at com.google.gwt.dev.jdt.WebModeCompilerFrontEnd.doFindAdditionalTypesUsingRebinds(WebModeCompilerFrontEnd.java:96)

      [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:173)

      [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:139)

      [INFO]     at com.google.gwt.dev.jdt.AbstractCompiler.compile(AbstractCompiler.java:588)

      [INFO]     at com.google.gwt.dev.jdt.BasicWebModeCompiler.getCompilationUnitDeclarations(BasicWebModeCompiler.java:97)

      [INFO]     at com.google.gwt.dev.jdt.WebModeCompilerFrontEnd.getCompilationUnitDeclarations(WebModeCompilerFrontEnd.java:52)

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

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

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

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

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

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

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

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

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

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

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

      [INFO]       [WARN] For the following type(s), generated source was never committed (did you forget to call commit()?)

      [INFO]          [WARN] org.jboss.errai.bus.client.framework.RpcProxyLoaderImpl

      [INFO]    [ERROR] Errors in 'jar:file:/C:/Users/slawek/.m2/repository/org/jboss/errai/errai-bus/2.0-SNAPSHOT/errai-bus-2.0-SNAPSHOT.jar!/org/jboss/errai/bus/client/framework/Client

      MessageBusImpl.java'

      [INFO]       [ERROR] Line 1180:  Rebind result 'org.jboss.errai.bus.client.framework.RpcProxyLoaderImpl' could not be found

      [INFO]    [ERROR] Cannot proceed due to previous errors