On one of my systems I'm still struggling to get GWT working properly.
It keeps throwing this error:

17:33:47.428 [ERROR] [Application] Failed to load module 'Application'
from user agent 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:
1.9.2.2) Gecko/20100316 Firefox/3.6.2' at localhost:2566
java.lang.NoSuchFieldError:
reportUnusedDeclaredThrownExceptionIncludeDocCommentReference
    at
com.google.gwt.dev.javac.JdtCompiler.getCompilerOptions(JdtCompiler.java:
310)
    at com.google.gwt.dev.javac.JdtCompiler
$CompilerImpl.<init>(JdtCompiler.java:148)
    at com.google.gwt.dev.javac.JdtCompiler.doCompile(JdtCompiler.java:
466)
    at com.google.gwt.dev.javac.CompilationStateBuilder
$CompileMoreLater.compile(CompilationStateBuilder.java:142)
    at
com.google.gwt.dev.javac.CompilationStateBuilder.doBuildFrom(CompilationStateBuilder.java:
281)
    at
com.google.gwt.dev.javac.CompilationStateBuilder.buildFrom(CompilationStateBuilder.java:
182)
    at
com.google.gwt.dev.cfg.ModuleDef.getCompilationState(ModuleDef.java:
280)
    at com.google.gwt.dev.DevModeBase
$UiBrowserWidgetHostImpl.createModuleSpaceHost(DevModeBase.java:99)
    at
com.google.gwt.dev.shell.OophmSessionHandler.loadModule(OophmSessionHandler.java:
180)
    at
com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:
380)
    at
com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:
222)
    at java.lang.Thread.run(Thread.java:595)


It looks like the CompilerOptions that is referenced inside the
JDTCompiler has an eclipse package:

org.eclipse.jdt.internal.compiler.impl.CompilerOptions

Lo and behold, I located this class in Eclipse and found out that one
of the dependencies in my project had eclipse:jdtcore:3.1.0.jar as a
dependency.

I removed this dependency because it obviously isn't needed at compile-
time.

Hope this helps someone in the future.

-- 
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