Wednesday, November 13, 2013

Re: ClassNotFoundException: com.google.gwt.dev.util.Preconditions when compiling with 2.6.0 RC1

Is it the same issue?

https://code.google.com/p/google-web-toolkit/issues/detail?id=8433

On Wednesday, November 13, 2013 5:47:18 PM UTC+1, Boris Brudnoy wrote:
I'm getting this compiler error when building a GWT project using the recently downloaded gwt-2.6.0-rc1:

[ERROR] An internal compiler exception occurred
com.google.gwt.dev.jjs.InternalCompilerException: Unexpected error during visit.
at com.google.gwt.dev.jjs.ast.JVisitor.translateException(JVisitor.java:110)
at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:276)
at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:265)
...
at com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java:55)
at com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger(CompileTaskRunner.java:50)
at com.google.gwt.dev.Compiler.main(Compiler.java:104)

Caused by: java.lang.ClassNotFoundException: com.google.gwt.dev.util.Preconditions
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
... 60 more

When I unpacked the gwt-dev.jar there really wasn't a Preconditions class in c.g.g.dev.util, nor is it in the source tree of either the 2.6.0-rc1 tag or the master branch. Why does the compiler want it?

Note: the compilation was launched via Google Plugin for Eclipse. Perhaps the plugin is not getting some launch params right?

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate