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(BrowserChannelServer.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].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to