We have to move our project back to GWT 2.7 due to some java 1.8 issues. I've checked all my jar files to make sure they are 2.7 and no duplicate jars in the build path but am getting errors when I try to compile with Ant.Any suggestions would be greatly appreciated. Thank you.prepareGWT:
[delete] Deleting directory C:\Users\s235985\workspace\
wkflw_test\Approval\gwt- unitCache [java] Compiling module com.aep.mro.approval.
approvalsystem [java] Computing all possible rebind results for 'gwtupload.client.bundle.
UploadCss' [java] Rebinding gwtupload.client.bundle.
UploadCss [java] Invoking generator com.google.gwt.resources.
rebind.context. InlineClientBundleGenerator [java] Initializing ResourceGenerator
[java] [ERROR] Unable to determine default for GSS in UiBinder
[java] [ERROR] An internal compiler exception occurred
[java] com.google.gwt.dev.jjs.
InternalCompilerException : Unexpected error during visit.[java] at com.google.gwt.dev.jjs.ast.
JVisitor.translateException( JVisitor.java:121 )[java] at com.google.gwt.dev.jjs.ast.
JModVisitor.accept( JModVisitor.java:296 )[java] at com.google.gwt.dev.jjs.ast.
JModVisitor.accept( JModVisitor.java:285 )[java] at com.google.gwt.dev.jjs.ast.
JVisitor.accept( JVisitor.java:128 )[java] at com.google.gwt.dev.jjs.ast.
JCastOperation.traverse( JCastOperation.java:67 )[java] at com.google.gwt.dev.jjs.ast.
JModVisitor.traverse( JModVisitor.java:381 )[java] at com.google.gwt.dev.jjs.ast.
JModVisitor.accept( JModVisitor.java:293 )[java] at com.google.gwt.dev.jjs.ast.
JModVisitor.accept( JModVisitor.java:285 )[java] at com.google.gwt.dev.jjs.ast.
JVisitor.accept( JVisitor.java:128 )[java] at com.google.gwt.dev.jjs.ast.
JDeclarationStatement. JDeclarationStatementtraverse( .java:49 )[java] at com.google.gwt.dev.jjs.ast.
JModVisitor$ListContext. JModVisitor.java:95)traverse( [java] at com.google.gwt.dev.jjs.ast.
JModVisitor. JModVisacceptWithInsertRemove( itor.java:351 )[java] at com.google.gwt.dev.jjs.ast.
JBlock.traverse( JBlock.java:92) [java] at com.google.gwt.dev.jjs.ast.
JModVisitor.traverse( JModVisitor.java:381 )[java] at com.google.gwt.dev.jjs.ast.
JModVisitor.accept( JModVisitor.java:293 )[java] at com.google.gwt.dev.jjs.ast.
JVisitor.accept( JVisitor.java:149 )[java] at com.google.gwt.dev.jjs.ast.
JVisitor.accept( JVisitor.java:145 )[java] at com.google.gwt.dev.jjs.ast.
JMethodBody.traverse( JMethodBody.java:83 )[java] at com.google.gwt.dev.jjs.ast.
JModVisitor.traverse( JModVisitor.java:381 )[java] at com.google.gwt.dev.jjs.ast.
JModVisitor.accept( JModVisitor.java:293 )[java] at com.google.gwt.dev.jjs.ast.
JModVisitor.accept( JModVisitor.java:285 )[java] at com.google.gwt.dev.jjs.ast.
JMethod.visitChildren( JMethod.java:600 )[java] at com.google.gwt.dev.jjs.ast.
JMethod.traverse( JMethod.java:569 )[java] at com.google.gwt.dev.jjs.ast.
JModVisitor.traverse( JModVisitor.java:381 )[java] at com.google.gwt.dev.jjs.ast.
JModVisitor.accept( JModVisitor.java:293 )[java] at com.google.gwt.dev.jjs.ast.
JModVisitor.accept( JModVisitor.java:285 )[java] at com.google.gwt.dev.jjs.impl.
UnifyAst.mainLoop( UnifyAst.java:1505 )[java] at com.google.gwt.dev.jjs.impl.
UnifyAst.exec( UnifyAst.java:870 )[java] at com.google.gwt.dev.jjs.
JavaToJavaScriptCompiler$ JavaTPrecompiler.unifyJavaAst( oJavaScriptCompiler.java:1305 )[java] at com.google.gwt.dev.jjs.
JavaToJavaScriptCompiler$ JPrecompiler.constructJavaAst( avaToJavaScriptCompiler.java: )1038 [java] at com.google.gwt.dev.jjs.
JavaToJavaScriptCompiler$ JavaToJPrecompiler.precompile( avaScriptCompiler.java:954 )[java] at com.google.gwt.dev.jjs.
MonolithicJavaToJavaScriptComp MonolithicJavailer.precompile( ToJavaScriptCompiler.java:303 )[java] at com.google.gwt.dev.jjs.
JavaScriptCompiler.precompile( JavaScriptCompiler.java:38 )[java] at com.google.gwt.dev.Precompile.
precompile( Precompile.java:286) [java] at com.google.gwt.dev.Precompile.
precompile( Precompile.java:229) [java] at com.google.gwt.dev.Precompile.
precompile( Precompile.java:145) [java] at com.google.gwt.dev.Compiler.
run( Compiler.java:206)[java] at com.google.gwt.dev.Compiler.
run( Compiler.java:158)[java] at com.google.gwt.dev.Compiler$1.
run( Compiler.java:120)[java] at com.google.gwt.dev.
CompileTaskRunner.doRun( CompileTaskRunner.java:55 )[java] at com.google.gwt.dev.
CompileTaskRunner. CompirunWithAppropriateLogger( leTaskRunner.java:50 )[java] at com.google.gwt.dev.Compiler.
main( Compiler.java:127)[java] Caused by: java.lang.NoSuchMethodError: com.google.gwt.util.tools.
Utility.close(Ljava/lang/ AutoCloseable;)V [java] at com.google.gwt.resources.rg.
ImageResourceGenerator. ImageResourcegetContentLength( Generator.java:623 )[java] at com.google.gwt.resources.rg.
ImageResourceGenerator. ImageResourceGeneratorprepare( .java:584 )[java] at com.google.gwt.resources.
rebind.context. AbstractClientBAbstractClientBundleGenerator. initAndPrepare( undleGenerator.java:1013 )[java] at com.google.gwt.resources.
rebind.context. AbstractClientBAbstractClientBundleGenerator. initAndPrepare( undleGenerator.java:1039 )[java] at com.google.gwt.resources.
rebind.context. AbstractAbstractClientBundleGenerator. generateIncrementally( ClientBundleGenerator.java:419 ) [java] at com.google.gwt.dev.javac.
StandardGeneratorContext. StanrunGeneratorIncrementally( dardGeneratorContext.java:754 )[java] at com.google.gwt.dev.cfg.
RuleGenerateWith.realize( RuleGenerateWith.java:160 )[java] at com.google.gwt.dev.shell.
StandardRebindOracle$Rebinder. StandardRebindOracle.rebind( java:79 )[java] at com.google.gwt.dev.shell.
StandardRebindOracle.rebind( StandardRebindOracle.java:276 )[java] at com.google.gwt.dev.shell.
StandardRebindOracle.rebind( StandardRebindOracle.java:265 )[java] at com.google.gwt.dev.
DistillerRebindPermutationOrac Dile. getAllPossibleRebindAnswers( stillerRebindPermutationOracle ).java:87 [java] at com.google.gwt.dev.jjs.impl.
UnifyAst$UnifyVisitor. UcreateStaticRebindExpression( nifyAst.java:485 )[java] at com.google.gwt.dev.jjs.impl.
UnifyAst$UnifyVisitor. UnifyAscreateRebindExpression( t.java:443 )[java] at com.google.gwt.dev.jjs.impl.
UnifyAst$UnifyVisitor. UnifyAsthandleMagicMethodCall( .java:576 )[java] at com.google.gwt.dev.jjs.impl.
UnifyAst$UnifyVisitor. UnifyAst.java:306)endVisit( [java] at com.google.gwt.dev.jjs.ast.
JMethodCall.traverse( JMethodCall.java:248 )[java] at com.google.gwt.dev.jjs.ast.
JModVisitor.traverse( JModVisitor.java:381 )[java] at com.google.gwt.dev.jjs.ast.
JModVisitor.accept( JModVisitor.java:293 )[java] ... 40 more
[java] [ERROR] at UploadCss.java(9): GWT.create(UploadCss.class)
[java] com.google.gwt.dev.jjs.ast.
JMethodCall [java] [ERROR] at UploadCss.java(9): (UploadCss) GWT.create(UploadCss.class)
[java] com.google.gwt.dev.jjs.ast.
JCastOperation [java] [ERROR] at UploadCss.java(9): final static UploadCss INSTANCE = (UploadCss) GWT.create(UploadCss.class)
[java] com.google.gwt.dev.jjs.ast.
JDeclarationStatement [java] [ERROR] at UploadCss.java(8): {
[java] final static UploadCss INSTANCE = (UploadCss) GWT.create(UploadCss.class);
[java] }
[java] com.google.gwt.dev.jjs.ast.
JBlock [java] [ERROR] at UploadCss.java(8): {
[java] final static UploadCss INSTANCE = (UploadCss) GWT.create(UploadCss.class);
[java] }
[java] com.google.gwt.dev.jjs.ast.
JMethodBody [java] [ERROR] at UploadCss.java(8): private static final void $clinit();
[java] com.google.gwt.dev.jjs.ast.
JMethod BUILD FAILED
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment