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=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to