phamtuanchip / gwt-comet

Automatically exported from code.google.com/p/gwt-comet
0 stars 0 forks source link

[Failure] Building gwt-comet with GWT 2.3 #19

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Just trying to upgrade to GWT 2.3, I get the following errors during the build.

[INFO] Scanning for projects...
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building IRCClient Web Application 1.0-0004
[INFO] ------------------------------------------------------------------------
[WARNING] The POM for net.zschech:gwt-comet:jar:1.2.2 is missing, no dependency 
information available
[INFO] 
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ ui ---
[INFO] Deleting X:\projects-java\ui\target
[INFO] Deleting X:\projects-java\ui\war\WEB-INF\classes
[INFO] 
[INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ ui ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 
X:\projects-java\ui\src\main\resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ ui ---
[INFO] Compiling 99 source files to X:\projects-java\ui\war\WEB-INF\classes
[INFO] 
[INFO] --- gwt-maven-plugin:1.2:compile (default) @ ui ---
[INFO] using GWT jars from project dependencies : 2.3.0
[INFO] establishing classpath list (scope = compile)
[INFO] Compiling module com.ircclouds.web.ui.IRCClient
[INFO]    [ERROR] Errors in 
'file:/X:/projects-java/ui/src/main/java/com/ircclouds/web/ui/client/IRCClient.j
ava'
[INFO]       [ERROR]  Internal compiler error
[INFO] java.lang.NoSuchMethodError: 
com.google.gwt.user.rebind.rpc.SerializableTypeOracleBuilder.<init>(Lcom/google/
gwt/core/ext/TreeLogger;Lcom/google/gwt/core/ext/PropertyOracle;Lcom/google/gwt/
core/ext/typeinfo/TypeOracle;)V
[INFO]  at 
net.zschech.gwt.comet.rebind.CometSerializerGenerator.generateIncrementally(Come
tSerializerGenerator.java:70)
[INFO]  at 
com.google.gwt.dev.javac.StandardGeneratorContext.runGeneratorIncrementally(Stan
dardGeneratorContext.java:681)
[INFO]  at 
com.google.gwt.dev.cfg.RuleGenerateWith.realize(RuleGenerateWith.java:41)
[INFO]  at 
com.google.gwt.dev.shell.StandardRebindOracle$Rebinder.rebind(StandardRebindOrac
le.java:74)
[INFO]  at 
com.google.gwt.dev.shell.StandardRebindOracle.rebind(StandardRebindOracle.java:2
85)
[INFO]  at 
com.google.gwt.dev.shell.StandardRebindOracle.rebind(StandardRebindOracle.java:2
74)
[INFO]  at 
com.google.gwt.dev.DistillerRebindPermutationOracle.getAllPossibleRebindAnswers(
DistillerRebindPermutationOracle.java:91)
[INFO]  at 
com.google.gwt.dev.jdt.WebModeCompilerFrontEnd.doFindAdditionalTypesUsingRebinds
(WebModeCompilerFrontEnd.java:106)
[INFO]  at 
com.google.gwt.dev.jdt.AbstractCompiler$Sandbox$CompilerImpl.process(AbstractCom
piler.java:251)
[INFO]  at org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:444)
[INFO]  at 
com.google.gwt.dev.jdt.AbstractCompiler$Sandbox$CompilerImpl.compile(AbstractCom
piler.java:170)
[INFO]  at 
com.google.gwt.dev.jdt.AbstractCompiler$Sandbox$CompilerImpl.compile(AbstractCom
piler.java:285)
[INFO]  at 
com.google.gwt.dev.jdt.AbstractCompiler$Sandbox$CompilerImpl.access$400(Abstract
Compiler.java:139)
[INFO]  at 
com.google.gwt.dev.jdt.AbstractCompiler.compile(AbstractCompiler.java:587)
[INFO]  at 
com.google.gwt.dev.jdt.BasicWebModeCompiler.getCompilationUnitDeclarations(Basic
WebModeCompiler.java:124)
[INFO]  at 
com.google.gwt.dev.jdt.WebModeCompilerFrontEnd.getCompilationUnitDeclarations(We
bModeCompilerFrontEnd.java:54)
[INFO]  at 
com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.precompile(JavaToJavaScriptCompi
ler.java:525)
[INFO]  at 
com.google.gwt.dev.jjs.JavaScriptCompiler.precompile(JavaScriptCompiler.java:35)
[INFO]  at com.google.gwt.dev.Precompile.precompile(Precompile.java:538)
[INFO]  at com.google.gwt.dev.Precompile.precompile(Precompile.java:492)
[INFO]  at com.google.gwt.dev.Precompile.precompile(Precompile.java:405)
[INFO]  at com.google.gwt.dev.Compiler.run(Compiler.java:215)
[INFO]  at com.google.gwt.dev.Compiler.run(Compiler.java:187)
[INFO]  at com.google.gwt.dev.Compiler$1.run(Compiler.java:159)
[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:166)
[INFO] 
[INFO] [ERROR] Unexpected
[INFO] java.lang.NoSuchMethodError: 
com.google.gwt.user.rebind.rpc.SerializableTypeOracleBuilder.<init>(Lcom/google/
gwt/core/ext/TreeLogger;Lcom/google/gwt/core/ext/PropertyOracle;Lcom/google/gwt/
core/ext/typeinfo/TypeOracle;)V
[INFO]  at 
net.zschech.gwt.comet.rebind.CometSerializerGenerator.generateIncrementally(Come
tSerializerGenerator.java:70)
[INFO]  at 
com.google.gwt.dev.javac.StandardGeneratorContext.runGeneratorIncrementally(Stan
dardGeneratorContext.java:681)
[INFO]  at 
com.google.gwt.dev.cfg.RuleGenerateWith.realize(RuleGenerateWith.java:41)
[INFO]  at 
com.google.gwt.dev.shell.StandardRebindOracle$Rebinder.rebind(StandardRebindOrac
le.java:74)
[INFO]  at 
com.google.gwt.dev.shell.StandardRebindOracle.rebind(StandardRebindOracle.java:2
85)
[INFO]  at 
com.google.gwt.dev.shell.StandardRebindOracle.rebind(StandardRebindOracle.java:2
74)
[INFO]  at 
com.google.gwt.dev.DistillerRebindPermutationOracle.getAllPossibleRebindAnswers(
DistillerRebindPermutationOracle.java:91)
[INFO]  at 
com.google.gwt.dev.jdt.WebModeCompilerFrontEnd.doFindAdditionalTypesUsingRebinds
(WebModeCompilerFrontEnd.java:106)
[INFO]  at 
com.google.gwt.dev.jdt.AbstractCompiler$Sandbox$CompilerImpl.process(AbstractCom
piler.java:251)
[INFO]  at org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:444)
[INFO]  at 
com.google.gwt.dev.jdt.AbstractCompiler$Sandbox$CompilerImpl.compile(AbstractCom
piler.java:170)
[INFO]  at 
com.google.gwt.dev.jdt.AbstractCompiler$Sandbox$CompilerImpl.compile(AbstractCom
piler.java:285)
[INFO]  at 
com.google.gwt.dev.jdt.AbstractCompiler$Sandbox$CompilerImpl.access$400(Abstract
Compiler.java:139)
[INFO]  at 
com.google.gwt.dev.jdt.AbstractCompiler.compile(AbstractCompiler.java:587)
[INFO]  at 
com.google.gwt.dev.jdt.BasicWebModeCompiler.getCompilationUnitDeclarations(Basic
WebModeCompiler.java:124)
[INFO]  at 
com.google.gwt.dev.jdt.WebModeCompilerFrontEnd.getCompilationUnitDeclarations(We
bModeCompilerFrontEnd.java:54)
[INFO]  at 
com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.precompile(JavaToJavaScriptCompi
ler.java:525)
[INFO]  at 
com.google.gwt.dev.jjs.JavaScriptCompiler.precompile(JavaScriptCompiler.java:35)
[INFO]  at com.google.gwt.dev.Precompile.precompile(Precompile.java:538)
[INFO]  at com.google.gwt.dev.Precompile.precompile(Precompile.java:492)
[INFO]  at com.google.gwt.dev.Precompile.precompile(Precompile.java:405)
[INFO]  at com.google.gwt.dev.Compiler.run(Compiler.java:215)
[INFO]  at com.google.gwt.dev.Compiler.run(Compiler.java:187)
[INFO]  at com.google.gwt.dev.Compiler$1.run(Compiler.java:159)
[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:166)
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 39.192s
[INFO] Finished at: Wed May 04 09:12:40 EEST 2011
[INFO] Final Memory: 9M/23M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.codehaus.mojo:gwt-maven-plugin:1.2:compile 
(default) on project ui: Command [[
[ERROR] C:\Program Files\Java\jdk1.6.0_25\jre\bin\java -Xmx512m -classpath 
"X:\projects-java\ui\src\main\java";"X:\projects-java\ui\src\main\resources";"X:
\projects-java\ui\war\WEB-INF\classes";"C:\Users\grandizer\.m2\repository\javax\
validation\validation-api\1.0.0.GA\validation-api-1.0.0.GA.jar";"C:\Users\grandi
zer\.m2\repository\javax\validation\validation-api\1.0.0.GA\validation-api-1.0.0
.GA-sources.jar";"C:\Users\grandizer\.m2\repository\com\google\gwt\gwt-user\2.3.
0\gwt-user-2.3.0.jar";"C:\Users\grandizer\.m2\repository\net\zschech\gwt-comet\1
.2.2\gwt-comet-1.2.2.jar";"C:\Users\grandizer\.m2\repository\com\google\gwt\gwt-
dev\2.3.0\gwt-dev-2.3.0-windows.jar" com.google.gwt.dev.Compiler -gen 
"X:\projects-java\ui\target\.generated" -logLevel INFO -style DETAILED -war 
"X:\projects-java\ui\target\ui-1.0-0004" -localWorkers 2 -draftCompile 
com.ircclouds.web.ui.IRCClient
[ERROR] ]] failed with status 1
[ERROR] -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please 
read the following articles:
[ERROR] [Help 1] 
http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

Original issue reported on code.google.com by mjha...@gmail.com on 4 May 2011 at 6:15

GoogleCodeExporter commented 9 years ago
I'm getting the above errors as well.

Can we have a gwt-comet 2.3 build any sooner please?  This is starting to be 
needed now that GWT 2.3 is released, and more people are looking into upgrading.

Original comment by miguel@lebane.se on 5 May 2011 at 5:31

GoogleCodeExporter commented 9 years ago
Google has changed the GWT serialization code again.

fixed in version 1.2.3

Original comment by rich...@zschech.net on 9 May 2011 at 1:43

GoogleCodeExporter commented 9 years ago

Original comment by rich...@zschech.net on 9 May 2011 at 1:44