Newby. Can't compile first example

10 views
Skip to first unread message

Eugene Smal

unread,
Apr 2, 2010, 6:29:08 AM4/2/10
to Google Web Toolkit
I've followed the Eclipse plugin installation instructions, installed
all the plugins and SDK's.
I can run the development server and debug the example as in the
documentation.

When I get to the "run in production mode", I do as stated and compile
the code by clicking on the Google->GWT compile button.
It then starts to compile and fails with the following error:

Compiling module com.myApp.MyApp
Compiling 6 permutations
Compiling permutation 0...
[ERROR] Unexpected internal compiler error
java.lang.ClassFormatError: Illegal UTF8 string in constant pool in
class file com/google/gwt/dev/jjs/impl/JsIEBlockTextTransformer
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$000(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at
com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.generateJavaScriptCode(JavaToJavaScriptCompiler.java:
884)
at
com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.compilePermutation(JavaToJavaScriptCompiler.java:
357)
at
com.google.gwt.dev.jjs.UnifiedAst.compilePermutation(UnifiedAst.java:
128)
at com.google.gwt.dev.CompilePerms.compile(CompilePerms.java:187)
at com.google.gwt.dev.ThreadedPermutationWorkerFactory
$ThreadedPermutationWorker.compile(ThreadedPermutationWorkerFactory.java:
49)
at com.google.gwt.dev.PermutationWorkerFactory$Manager
$WorkerThread.run(PermutationWorkerFactory.java:70)
at java.lang.Thread.run(Unknown Source)
[ERROR] Unrecoverable exception, shutting down
com.google.gwt.core.ext.UnableToCompleteException: (see previous log
entries)
at
com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.logAndTranslateException(JavaToJavaScriptCompiler.java:
939)
at
com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.compilePermutation(JavaToJavaScriptCompiler.java:
370)
at
com.google.gwt.dev.jjs.UnifiedAst.compilePermutation(UnifiedAst.java:
128)
at com.google.gwt.dev.CompilePerms.compile(CompilePerms.java:187)
at com.google.gwt.dev.ThreadedPermutationWorkerFactory
$ThreadedPermutationWorker.compile(ThreadedPermutationWorkerFactory.java:
49)
at com.google.gwt.dev.PermutationWorkerFactory$Manager
$WorkerThread.run(PermutationWorkerFactory.java:70)
at java.lang.Thread.run(Unknown Source)
[ERROR] Not all permutation were compiled , completed (0/6)

Any help would greatly appreciated.

Reply all
Reply to author
Forward
0 new messages