java.lang.VerifyError with gwt 1.5

108 views
Skip to first unread message

MikeTheQuick

unread,
Sep 10, 2008, 5:24:23 AM9/10/08
to Google Web Toolkit
Hi, i hope that someone can help me...
I was tryng to port my gwt application from gwt 1.4 to gwt 1.5... the
only things that i changed for now are the libraries of gwt 1.5 that i
had substitute with the same of gwt 1.4.
Now i get a java.lang.VerifyError when i try to compile the gwt client
files... can someone tell me what to do?

this is the stack trace :

[java] java.lang.VerifyError: Cannot inherit from final class
[java] at java.lang.ClassLoader.defineClass1(Native Method)
[java] at java.lang.ClassLoader.defineClass(Unknown Source)
[java] at java.security.SecureClassLoader.defineClass(Unknown
Source)
[java] at java.net.URLClassLoader.defineClass(Unknown Source)
[java] at java.net.URLClassLoader.access$000(Unknown Source)
[java] at java.net.URLClassLoader$1.run(Unknown Source)
[java] at java.security.AccessController.doPrivileged(Native
Method)
[java] at java.net.URLClassLoader.findClass(Unknown Source)
[java] at java.lang.ClassLoader.loadClass(Unknown Source)
[java] at sun.misc.Launcher$AppClassLoader.loadClass(Unknown
Source)
[java] at java.lang.ClassLoader.loadClass(Unknown Source)
[java] at java.lang.ClassLoader.loadClassInternal(Unknown
Source)
[java] Exception in thread "main"
[java] Java Result: 1

I have this error only with gwt 1.5... with gwt 1.4 it's all ok....

maudio

unread,
Sep 10, 2008, 10:25:00 AM9/10/08
to Google Web Toolkit
Make sure you do a clean build to remove any previously compiled
stuff.

MikeTheQuick

unread,
Sep 10, 2008, 11:15:01 AM9/10/08
to Google Web Toolkit
I tried to clean and rebuild the project, but nothing changed... i
have the same error...

MikeTheQuick

unread,
Sep 10, 2008, 1:20:36 PM9/10/08
to Google Web Toolkit
The problem was a conflicy between the old gwt Rocket library and the
new gwt 1.5....
I downloaded the new version of Rocket library and now it's all
ok ....
:)
Reply all
Reply to author
Forward
0 new messages