GWT 2.0M1 java.lang.NoSuchFieldError WITH ECLIPSE PLUGIN
2,804 views
Skip to first unread message
bond
unread,
Oct 26, 2009, 4:49:14 PM10/26/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google Web Toolkit
Hi,
I've a problem when I try to compile my dummy Eclipse web project with
GWT Module with Google Plugin 1.1.2.
The error is this:
[ERROR] Unexpected
java.lang.NoSuchFieldError:
reportUnusedDeclaredThrownExceptionIncludeDocCommentReference
at com.google.gwt.dev.javac.JdtCompiler.getCompilerOptions
(JdtCompiler.java:208)
at com.google.gwt.dev.javac.JdtCompiler$CompilerImpl.<init>
(JdtCompiler.java:94)
at com.google.gwt.dev.javac.JdtCompiler.doCompile(JdtCompiler.java:
253)
at com.google.gwt.dev.javac.CompilationState.compile
(CompilationState.java:338)
at com.google.gwt.dev.javac.CompilationState.refresh
(CompilationState.java:247)
at com.google.gwt.dev.javac.CompilationState.<init>
(CompilationState.java:116)
at com.google.gwt.dev.cfg.ModuleDef.getCompilationState
(ModuleDef.java:285)
at com.google.gwt.dev.Precompile.precompile(Precompile.java:489)
at com.google.gwt.dev.Precompile.precompile(Precompile.java:408)
at com.google.gwt.dev.Compiler.run(Compiler.java:194)
at com.google.gwt.dev.Compiler$1.run(Compiler.java:145)
at com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java:
89)
at com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger
(CompileTaskRunner.java:83)
at com.google.gwt.dev.Compiler.main(Compiler.java:152)
Anyone has some ideas of the problem? I'm tring to deploy GWT
application on Tomcat 6.0.20 directly from Eclipse.
Thanks very much
Best regards
bond
unread,
Oct 27, 2009, 7:19:07 AM10/27/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google Web Toolkit
Any ideas?
Harmeet Bedi
unread,
Oct 26, 2009, 5:47:55 PM10/26/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to google-we...@googlegroups.com
Your JdtCompiler is likely in 2 jars. In Google and something else.
Try to resolve JdtCompiler, see what it resolves to.
Also if you send your .classpath it would help diagnose.
Harmeet
Henry
unread,
Nov 22, 2009, 3:02:21 AM11/22/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google Web Toolkit
I had a similar problem.
My problem was that my jasper-jdt.jar (Tomcat) classpath was listed
before my GWT classpath
The offending Class was CompilerOptions
Simple fix was to put the GWT classpath before Tomcat's