I face this when I'm running with Java 5 in development mode, and on a
previous project I thought we tracked it back to a bug that was fixed
in Java 6. So we run with java 6 in development mode, but a runtime of
Java 5 with the fully built war works fine. Have you tried the
deferred command mentioned here:

http://code.google.com/p/google-web-toolkit/issues/detail?id=4254

On Aug 21, 4:31 pm, Isuru Madusanka <[email protected]> wrote:
> I have the same problem. Which IDE you use?
>
> On Fri, Aug 20, 2010 at 10:45 PM, Greg Dougherty <[email protected]
>
>
>
> > wrote:
> > I have a GWT app I was building using a 1.6 JDK.  However, the place
> > where I want to deploy it only has Tomcat 5, running jdk 1.5.  So I
> > changed my compiler settings to 1.5 compliance, and a 1.5 jdk, and
> > rebuild.  After I got rid of all my @Override annotations, it
> > compiled.
>
> > If I zip up my war directory into a .war file, it runs on their
> > Tomcat, and on mine (which is Tomcat 6).  However, when I try to load
> > my app using the built-in Jetty, it fails in onModuleLoad, executing
> > the follow command (gMainDock is a ScrollPanel) (I'm in Quirks mode,
> > if that matters):
>
> > RootLayoutPanel.get ().add (gMainDock);
>
> > 12:08:39.168 [ERROR] [ota] Unable to load module entry point class
> > edu.mayo.genomics.client.OTA (see associated exception for details)
> > java.lang.VerifyError: (class: com/google/gwt/core/client/Scheduler,
> > method: <init> signature: ()V) Illegal constant pool index
> >    at
> > com.google.gwt.user.client.ui.LayoutCommand.schedule(LayoutCommand.java:
> > 104)
> >    at
> > com.google.gwt.user.client.ui.LayoutPanel.animate(LayoutPanel.java:
> > 141)
> >    at
> > com.google.gwt.user.client.ui.LayoutPanel.animate(LayoutPanel.java:
> > 137)
> >    at
> > com.google.gwt.user.client.ui.LayoutPanel.insert(LayoutPanel.java:196)
> >    at com.google.gwt.user.client.ui.LayoutPanel.add(LayoutPanel.java:
> > 133)
> >    at edu.mayo.genomics.client.OTA.onModuleLoad(OTA.java:132)
> >    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> >    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> >    at java.lang.reflect.Method.invoke(Unknown Source)
> >    at com.google.gwt.dev.shell.ModuleSpace.onLoad(ModuleSpace.java:
> > 369)
> >    at
>
> > com.google.gwt.dev.shell.OophmSessionHandler.loadModule(OophmSessionHandler 
> > .java:
> > 185)
> >    at
>
> > com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChan 
> > nelServer.java:
> > 380)
> >    at
>
> > com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java 
> > :
> > 222)
> >    at java.lang.Thread.run(Unknown Source)
>
> > Any suggestions on what's going wrong, and how to fix it, would be
> > greatly appreciated.
>
> > TIA,
> > Greg
>
> > --
> > 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]<google-web-toolkit%2Bunsubs 
> > [email protected]>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/google-web-toolkit?hl=en.

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