gwt-compile issue

794 views
Skip to first unread message

Navindian

unread,
Jun 17, 2011, 7:15:30 AM6/17/11
to google-we...@googlegroups.com
I have imported working project. It is giving the following error. please let me know asap.

Compiling module com.ge.inds.evse.io.EVSEGRI
[ERROR] Unexpected
java.lang.NoSuchFieldError: reportUnusedDeclaredThrownExceptionIncludeDocCommentReference
at com.google.gwt.dev.javac.JdtCompiler.getCompilerOptions(JdtCompiler.java:398)
at com.google.gwt.dev.javac.JdtCompiler$CompilerImpl.<init>(JdtCompiler.java:228)
at com.google.gwt.dev.javac.JdtCompiler.doCompile(JdtCompiler.java:689)
at com.google.gwt.dev.javac.CompilationStateBuilder$CompileMoreLater.compile(CompilationStateBuilder.java:215)
at com.google.gwt.dev.javac.CompilationStateBuilder.doBuildFrom(CompilationStateBuilder.java:406)
at com.google.gwt.dev.javac.CompilationStateBuilder.buildFrom(CompilationStateBuilder.java:299)
at com.google.gwt.dev.cfg.ModuleDef.getCompilationState(ModuleDef.java:325)
at com.google.gwt.dev.Precompile.precompile(Precompile.java:507)
at com.google.gwt.dev.Precompile.precompile(Precompile.java:492)
at com.google.gwt.dev.Precompile.precompile(Precompile.java:405)
at com.google.gwt.dev.Compiler.run(Compiler.java:215)
at com.google.gwt.dev.Compiler.run(Compiler.java:187)
at com.google.gwt.dev.Compiler$1.run(Compiler.java:159)
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:166)

Juan Pablo Gardella

unread,
Jun 17, 2011, 7:59:01 AM6/17/11
to google-we...@googlegroups.com
Can you show the classpath?

2011/6/17 Navindian <navi...@gmail.com>
--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-we...@googlegroups.com.
To unsubscribe from this group, send email to google-web-tool...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

Abhijit Rai

unread,
Jul 22, 2011, 2:56:42 AM7/22/11
to Google-We...@googlegroups.com

Hey guys facing the same issue wuth eclipse Galelio with gwt 2.3 plugin

My run config in eclipse is:

Main class:
com.google.gwt.dev.GWTShell

Arguments :
-remoteUI "${gwt_remote_ui_server_port}:${unique_id}" -logLevel INFO -
codeServerPort 9997 -port 8888 com.iflex.cards.Cards/Cards.html

classpath :
JRE6
src
project specific jars

Please do tell me if someone is able to nail the issue. Will keep posted with
my findings.

Regards,
Abhijit


Abhijit Rai

unread,
Jul 22, 2011, 7:04:08 AM7/22/11
to Google-We...@googlegroups.com

Ok that was stupid !!!
The problem is that com.google.gwt.dev.javac.JdtCompiler.getCompilerOptions
(JdtCompiler.java:208)
is Referring to CompilerOptions which as fate would have it is referencing to
the implementation in selenium-server.jar instead of gwt specific
implementation.
This jar of course is not needed and can be safely removed(Its there since I
was working on the Selenium framework).
So once this dependency is removed it works fine .

If you have a similar problem try figuring out which jar "CompilerOptions" is
referring to thats where the problem might be .

Cheers :)
Abhijit


Reply all
Reply to author
Forward
0 new messages