fbpx

Deadliest Google Web Toolkit mistake, upgrading to GWT 2.1 with the latest GWT-Platform

(Last Updated On: November 25, 2010)

Deadliest Google Web Toolkit mistake, upgrading to GWT 2.1 with the latest GWT-Platform

The deadliest mistake of GWT development thus far easily has been upgrade to GWT 2.1. As I am using GWT Platform, it seems when I do GWT compilation, I get various about certain GWT-Platforms don’t have proper source code. I even made sure I had the proper JARs included in my Eclipse project class path as well as my war/WEB-INF/libs. Nothing was corrected until I backed up my Eclipse Helios with its prior GWT  plugins. It seems this was part of the problem. I would urge anyone out there to consider this if you ever plan to upgrade to GWT 2.1. Your GWT compilations may break. If anyone can shed further light this would be highly appreciated. Everything seems to work under GWT 2.0.4 with that reflecting GWT Eclipse Plugin.

Here is a sample of GWT compiler errors (there are others):

Compiling module com.google.musicstore.Siloverse1
[ERROR] Errors in ‘file:/C:/Documents%20and%20Settings/Administrator/workspace-zeus/SiloverseFlexMVP2MSSQLGWT2/src/com/google/musicstore/client/view/HomeView.java’
[ERROR]  Internal compiler error
java.lang.NoSuchMethodError: com.google.gwt.uibinder.elementparsers.BeanParser.<init>(Lcom/google/gwt/uibinder/rebind/UiBinderContext;)V
at com.google.gwt.uibinder.rebind.UiBinderWriter.getParsersForClass(UiBinderWriter.java:870)
at com.google.gwt.uibinder.rebind.UiBinderWriter.parseElementToField(UiBinderWriter.java:627)
at com.google.gwt.uibinder.rebind.UiBinderParser.parse(UiBinderParser.java:139)
at com.google.gwt.uibinder.rebind.UiBinderWriter.parseDocumentElement(UiBinderWriter.java:935)
at com.google.gwt.uibinder.rebind.UiBinderWriter.parseDocument(UiBinderWriter.java:712)
at com.google.gwt.uibinder.rebind.UiBinderGenerator.generateOnce(UiBinderGenerator.java:142)
at com.google.gwt.uibinder.rebind.UiBinderGenerator.generate(UiBinderGenerator.java:119)
at com.google.gwt.dev.javac.StandardGeneratorContext.runGenerator(StandardGeneratorContext.java:427)
at com.google.gwt.dev.cfg.RuleGenerateWith.realize(RuleGenerateWith.java:39)
at com.google.gwt.dev.shell.StandardRebindOracle$Rebinder.tryRebind(StandardRebindOracle.java:115)
at com.google.gwt.dev.shell.StandardRebindOracle$Rebinder.rebind(StandardRebindOracle.java:58)
at com.google.gwt.dev.shell.StandardRebindOracle.rebind(StandardRebindOracle.java:161)
at com.google.gwt.dev.shell.StandardRebindOracle.rebind(StandardRebindOracle.java:150)
at com.google.gwt.dev.Precompile$DistillerRebindPermutationOracle.getAllPossibleRebindAnswers(Precompile.java:345)
at com.google.gwt.dev.jdt.WebModeCompilerFrontEnd.doFindAdditionalTypesUsingRebinds(WebModeCompilerFrontEnd.java:106)
at com.google.gwt.dev.jdt.AbstractCompiler$Sandbox$CompilerImpl.process(AbstractCompiler.java:254)
at org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:444)
at com.google.gwt.dev.jdt.AbstractCompiler$Sandbox$CompilerImpl.compile(AbstractCompiler.java:175)
at com.google.gwt.dev.jdt.AbstractCompiler$Sandbox$CompilerImpl.compile(AbstractCompiler.java:288)
at com.google.gwt.dev.jdt.AbstractCompiler$Sandbox$CompilerImpl.access$400(AbstractCompiler.java:145)
at com.google.gwt.dev.jdt.AbstractCompiler.compile(AbstractCompiler.java:632)
at com.google.gwt.dev.jdt.BasicWebModeCompiler.getCompilationUnitDeclarations(BasicWebModeCompiler.java:124)
at com.google.gwt.dev.jdt.WebModeCompilerFrontEnd.getCompilationUnitDeclarations(WebModeCompilerFrontEnd.java:54)
at com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.precompile(JavaToJavaScriptCompiler.java:484)
at com.google.gwt.dev.jjs.JavaScriptCompiler.precompile(JavaScriptCompiler.java:32)
at com.google.gwt.dev.Precompile.precompile(Precompile.java:545)
at com.google.gwt.dev.Precompile.precompile(Precompile.java:466)
at com.google.gwt.dev.Compiler.run(Compiler.java:205)
at com.google.gwt.dev.Compiler.run(Compiler.java:177)
at com.google.gwt.dev.Compiler$1.run(Compiler.java:149)
at com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java:87)
at com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger(CompileTaskRunner.java:81)
at com.google.gwt.dev.Compiler.main(Compiler.java:156)
[ERROR] Unexpected
java.lang.NoSuchMethodError: com.google.gwt.uibinder.elementparsers.BeanParser.<init>(Lcom/google/gwt/uibinder/rebind/UiBinderContext;)V
at com.google.gwt.uibinder.rebind.UiBinderWriter.getParsersForClass(UiBinderWriter.java:870)
at com.google.gwt.uibinder.rebind.UiBinderWriter.parseElementToField(UiBinderWriter.java:627)
at com.google.gwt.uibinder.rebind.UiBinderParser.parse(UiBinderParser.java:139)
at com.google.gwt.uibinder.rebind.UiBinderWriter.parseDocumentElement(UiBinderWriter.java:935)
at com.google.gwt.uibinder.rebind.UiBinderWriter.parseDocument(UiBinderWriter.java:712)
at com.google.gwt.uibinder.rebind.UiBinderGenerator.generateOnce(UiBinderGenerator.java:142)
at com.google.gwt.uibinder.rebind.UiBinderGenerator.generate(UiBinderGenerator.java:119)
at com.google.gwt.dev.javac.StandardGeneratorContext.runGenerator(StandardGeneratorContext.java:427)
at com.google.gwt.dev.cfg.RuleGenerateWith.realize(RuleGenerateWith.java:39)
at com.google.gwt.dev.shell.StandardRebindOracle$Rebinder.tryRebind(StandardRebindOracle.java:115)
at com.google.gwt.dev.shell.StandardRebindOracle$Rebinder.rebind(StandardRebindOracle.java:58)
at com.google.gwt.dev.shell.StandardRebindOracle.rebind(StandardRebindOracle.java:161)
at com.google.gwt.dev.shell.StandardRebindOracle.rebind(StandardRebindOracle.java:150)
at com.google.gwt.dev.Precompile$DistillerRebindPermutationOracle.getAllPossibleRebindAnswers(Precompile.java:345)
at com.google.gwt.dev.jdt.WebModeCompilerFrontEnd.doFindAdditionalTypesUsingRebinds(WebModeCompilerFrontEnd.java:106)
at com.google.gwt.dev.jdt.AbstractCompiler$Sandbox$CompilerImpl.process(AbstractCompiler.java:254)
at org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:444)
at com.google.gwt.dev.jdt.AbstractCompiler$Sandbox$CompilerImpl.compile(AbstractCompiler.java:175)
at com.google.gwt.dev.jdt.AbstractCompiler$Sandbox$CompilerImpl.compile(AbstractCompiler.java:288)
at com.google.gwt.dev.jdt.AbstractCompiler$Sandbox$CompilerImpl.access$400(AbstractCompiler.java:145)
at com.google.gwt.dev.jdt.AbstractCompiler.compile(AbstractCompiler.java:632)
at com.google.gwt.dev.jdt.BasicWebModeCompiler.getCompilationUnitDeclarations(BasicWebModeCompiler.java:124)
at com.google.gwt.dev.jdt.WebModeCompilerFrontEnd.getCompilationUnitDeclarations(WebModeCompilerFrontEnd.java:54)
at com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.precompile(JavaToJavaScriptCompiler.java:484)
at com.google.gwt.dev.jjs.JavaScriptCompiler.precompile(JavaScriptCompiler.java:32)
at com.google.gwt.dev.Precompile.precompile(Precompile.java:545)
at com.google.gwt.dev.Precompile.precompile(Precompile.java:466)
at com.google.gwt.dev.Compiler.run(Compiler.java:205)
at com.google.gwt.dev.Compiler.run(Compiler.java:177)
at com.google.gwt.dev.Compiler$1.run(Compiler.java:149)
at com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java:87)
at com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger(CompileTaskRunner.java:81)
at com.google.gwt.dev.Compiler.main(Compiler.java:156)

Compiling module com.google.musicstore.Siloverse1   [ERROR] Errors in ‘file:/C:/Documents%20and%20Settings/Administrator/workspace-zeus/SiloverseFlexMVP2MSSQLGWT2/src/com/google/musicstore/client/view/HomeView.java’      [ERROR]  Internal compiler errorjava.lang.NoSuchMethodError: com.google.gwt.uibinder.elementparsers.BeanParser.<init>(Lcom/google/gwt/uibinder/rebind/UiBinderContext;)V at com.google.gwt.uibinder.rebind.UiBinderWriter.getParsersForClass(UiBinderWriter.java:870) at com.google.gwt.uibinder.rebind.UiBinderWriter.parseElementToField(UiBinderWriter.java:627) at com.google.gwt.uibinder.rebind.UiBinderParser.parse(UiBinderParser.java:139) at com.google.gwt.uibinder.rebind.UiBinderWriter.parseDocumentElement(UiBinderWriter.java:935) at com.google.gwt.uibinder.rebind.UiBinderWriter.parseDocument(UiBinderWriter.java:712) at com.google.gwt.uibinder.rebind.UiBinderGenerator.generateOnce(UiBinderGenerator.java:142) at com.google.gwt.uibinder.rebind.UiBinderGenerator.generate(UiBinderGenerator.java:119) at com.google.gwt.dev.javac.StandardGeneratorContext.runGenerator(StandardGeneratorContext.java:427) at com.google.gwt.dev.cfg.RuleGenerateWith.realize(RuleGenerateWith.java:39) at com.google.gwt.dev.shell.StandardRebindOracle$Rebinder.tryRebind(StandardRebindOracle.java:115) at com.google.gwt.dev.shell.StandardRebindOracle$Rebinder.rebind(StandardRebindOracle.java:58) at com.google.gwt.dev.shell.StandardRebindOracle.rebind(StandardRebindOracle.java:161) at com.google.gwt.dev.shell.StandardRebindOracle.rebind(StandardRebindOracle.java:150) at com.google.gwt.dev.Precompile$DistillerRebindPermutationOracle.getAllPossibleRebindAnswers(Precompile.java:345) at com.google.gwt.dev.jdt.WebModeCompilerFrontEnd.doFindAdditionalTypesUsingRebinds(WebModeCompilerFrontEnd.java:106) at com.google.gwt.dev.jdt.AbstractCompiler$Sandbox$CompilerImpl.process(AbstractCompiler.java:254) at org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:444) at com.google.gwt.dev.jdt.AbstractCompiler$Sandbox$CompilerImpl.compile(AbstractCompiler.java:175) at com.google.gwt.dev.jdt.AbstractCompiler$Sandbox$CompilerImpl.compile(AbstractCompiler.java:288) at com.google.gwt.dev.jdt.AbstractCompiler$Sandbox$CompilerImpl.access$400(AbstractCompiler.java:145) at com.google.gwt.dev.jdt.AbstractCompiler.compile(AbstractCompiler.java:632) at com.google.gwt.dev.jdt.BasicWebModeCompiler.getCompilationUnitDeclarations(BasicWebModeCompiler.java:124) at com.google.gwt.dev.jdt.WebModeCompilerFrontEnd.getCompilationUnitDeclarations(WebModeCompilerFrontEnd.java:54) at com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.precompile(JavaToJavaScriptCompiler.java:484) at com.google.gwt.dev.jjs.JavaScriptCompiler.precompile(JavaScriptCompiler.java:32) at com.google.gwt.dev.Precompile.precompile(Precompile.java:545) at com.google.gwt.dev.Precompile.precompile(Precompile.java:466) at com.google.gwt.dev.Compiler.run(Compiler.java:205) at com.google.gwt.dev.Compiler.run(Compiler.java:177) at com.google.gwt.dev.Compiler$1.run(Compiler.java:149) at com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java:87) at com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger(CompileTaskRunner.java:81) at com.google.gwt.dev.Compiler.main(Compiler.java:156)
[ERROR] Unexpectedjava.lang.NoSuchMethodError: com.google.gwt.uibinder.elementparsers.BeanParser.<init>(Lcom/google/gwt/uibinder/rebind/UiBinderContext;)V at com.google.gwt.uibinder.rebind.UiBinderWriter.getParsersForClass(UiBinderWriter.java:870) at com.google.gwt.uibinder.rebind.UiBinderWriter.parseElementToField(UiBinderWriter.java:627) at com.google.gwt.uibinder.rebind.UiBinderParser.parse(UiBinderParser.java:139) at com.google.gwt.uibinder.rebind.UiBinderWriter.parseDocumentElement(UiBinderWriter.java:935) at com.google.gwt.uibinder.rebind.UiBinderWriter.parseDocument(UiBinderWriter.java:712) at com.google.gwt.uibinder.rebind.UiBinderGenerator.generateOnce(UiBinderGenerator.java:142) at com.google.gwt.uibinder.rebind.UiBinderGenerator.generate(UiBinderGenerator.java:119) at com.google.gwt.dev.javac.StandardGeneratorContext.runGenerator(StandardGeneratorContext.java:427) at com.google.gwt.dev.cfg.RuleGenerateWith.realize(RuleGenerateWith.java:39) at com.google.gwt.dev.shell.StandardRebindOracle$Rebinder.tryRebind(StandardRebindOracle.java:115) at com.google.gwt.dev.shell.StandardRebindOracle$Rebinder.rebind(StandardRebindOracle.java:58) at com.google.gwt.dev.shell.StandardRebindOracle.rebind(StandardRebindOracle.java:161) at com.google.gwt.dev.shell.StandardRebindOracle.rebind(StandardRebindOracle.java:150) at com.google.gwt.dev.Precompile$DistillerRebindPermutationOracle.getAllPossibleRebindAnswers(Precompile.java:345) at com.google.gwt.dev.jdt.WebModeCompilerFrontEnd.doFindAdditionalTypesUsingRebinds(WebModeCompilerFrontEnd.java:106) at com.google.gwt.dev.jdt.AbstractCompiler$Sandbox$CompilerImpl.process(AbstractCompiler.java:254) at org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:444) at com.google.gwt.dev.jdt.AbstractCompiler$Sandbox$CompilerImpl.compile(AbstractCompiler.java:175) at com.google.gwt.dev.jdt.AbstractCompiler$Sandbox$CompilerImpl.compile(AbstractCompiler.java:288) at com.google.gwt.dev.jdt.AbstractCompiler$Sandbox$CompilerImpl.access$400(AbstractCompiler.java:145) at com.google.gwt.dev.jdt.AbstractCompiler.compile(AbstractCompiler.java:632) at com.google.gwt.dev.jdt.BasicWebModeCompiler.getCompilationUnitDeclarations(BasicWebModeCompiler.java:124) at com.google.gwt.dev.jdt.WebModeCompilerFrontEnd.getCompilationUnitDeclarations(WebModeCompilerFrontEnd.java:54) at com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.precompile(JavaToJavaScriptCompiler.java:484) at com.google.gwt.dev.jjs.JavaScriptCompiler.precompile(JavaScriptCompiler.java:32) at com.google.gwt.dev.Precompile.precompile(Precompile.java:545) at com.google.gwt.dev.Precompile.precompile(Precompile.java:466) at com.google.gwt.dev.Compiler.run(Compiler.java:205) at com.google.gwt.dev.Compiler.run(Compiler.java:177) at com.google.gwt.dev.Compiler$1.run(Compiler.java:149) at com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java:87) at com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger(CompileTaskRunner.java:81) at com.google.gwt.dev.Compiler.main(Compiler.java:156)

NOTE I now post my TRADING ALERTS into my personal FACEBOOK ACCOUNT and TWITTER. Don't worry as I don't post stupid cat videos or what I eat!

Subscribe For Latest Updates

Sign up to best of business news, informed analysis and opinions on what matters to you.
Invalid email address
We promise not to spam you. You can unsubscribe at any time.

NOTE!

Check NEW site on stock forex and ETF analysis and automation

Scroll to Top