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

On Oct 26, 1:47 pm, Harmeet Bedi <[email protected]> wrote:
> 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
>
> ----- Original Message -----
> From: "bond" <[email protected]>
> To: "Google Web Toolkit" <[email protected]>
> Sent: Monday, October 26, 2009 4:49:14 PM GMT -05:00 US/Canada Eastern
> Subject: GWT 2.0M1 java.lang.NoSuchFieldError WITH ECLIPSE PLUGIN
>
> 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

--

You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=.


Reply via email to