Filed the following issue for this: http://code.google.com/p/google-web-toolkit/issues/detail?id=5041
<http://code.google.com/p/google-web-toolkit/issues/detail?id=5041>Feel free to star it/add comments as you see fit. On Sun, Jun 20, 2010 at 9:41 AM, Sripathi Krishnan < [email protected]> wrote: > The (probably satisfactory) approach is to remove the GAE jars from the > classpath. When you uncheck GAE, it doesn't remove the jars from the > classpath. There is some kind of version mismatch in one of the jetty > classes (as shown by NoClassDefFoundError), so when you remove GAE jars, > things work fine. > > --Sri > > > > On 20 June 2010 19:03, Magnus <[email protected]> wrote: > >> Hello, >> >> for all those who have problems connecting to a mysql database within >> a RPC call: >> The solution found in this thread is to uncheck "Use Google AppEngine" >> in the eclipse project settings: >> >> http://www.mail-archive.com/[email protected]/msg14413.html >> >> But this leads to problems when running the app in hosted mode. >> >> My (unsatisfactory but working) approach: >> Create a new Web Application Project, where AppEngine is unchecked at >> project creation. >> >> I hope this will be usefull for someone... >> >> Magnus >> >> >> On Jun 20, 2:35 pm, Magnus <[email protected]> wrote: >> > Hello, >> > >> > after unchecking "Use Google AppEngine" in the project properties in >> > Eclipse, I get the following exceptions when launching the >> > application. >> > >> > (I did so, because I found a solution for my database problem: >> http://www.mail-archive.com/[email protected]/msg14...) >> > >> > Can you help? >> > >> > Thank you >> > Magnus >> > >> > [WARN] Server class >> > >> 'com.google.appengine.repackaged.org.apache.commons.logging.impl.Log4JLogger' >> > could not be found in the web app, but was found on the system >> > classpath >> > [WARN] Adding classpath entry 'file:/home/wagner/.eclipse/ >> > org.eclipse.platform_3.3.0_385211434/configuration/eclipse/plugins/ >> > com.google.appengine.eclipse.sdkbundle.1.3.3_1.3.3.v201004231111/ >> > appengine-java-sdk-1.3.3.1/lib/shared/jsp/repackaged-appengine-commons- >> > logging-1.1.1.jar' to the web app classpath for this session >> > For additional info see: file:/home/wagner/.eclipse/ >> > org.eclipse.platform_3.3.0_385211434/configuration/eclipse/plugins/ >> > com.google.gwt.eclipse.sdkbundle.2.0.3_2.0.3.v201002191036/gwt-2.0.3/ >> > doc/helpInfo/webAppClassPath.html >> > Starting Jetty on port 8888 >> > [WARN] failed org.mortbay.jetty.nio.SelectChannelConnector >> > $...@145c859 >> > java.lang.NoSuchMethodError: org.mortbay.thread.Timeout.<init>(Ljava/ >> > lang/Object;)V >> > at org.mortbay.io.nio.SelectorManager >> > $SelectSet.<init>(SelectorManager.java:306) >> > at >> org.mortbay.io.nio.SelectorManager.doStart(SelectorManager.java: >> > 223) >> > at >> > org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java: >> > 39) >> > at >> > >> org.mortbay.jetty.nio.SelectChannelConnector.doStart(SelectChannelConnector.java: >> > 303) >> > at >> > org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java: >> > 39) >> > at org.mortbay.jetty.Server.doStart(Server.java:233) >> > at >> > org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java: >> > 39) >> > at >> > com.google.gwt.dev.shell.jetty.JettyLauncher.start(JettyLauncher.java: >> > 543) >> > at com.google.gwt.dev.DevMode.doStartUpServer(DevMode.java:421) >> > at com.google.gwt.dev.DevModeBase.startUp(DevModeBase.java:1035) >> > at com.google.gwt.dev.DevModeBase.run(DevModeBase.java:783) >> > at com.google.gwt.dev.DevMode.main(DevMode.java:275) >> > [WARN] failed [email protected]:8888 >> > java.lang.NoSuchMethodError: org.mortbay.thread.Timeout.<init>(Ljava/ >> > lang/Object;)V >> > at org.mortbay.io.nio.SelectorManager >> > $SelectSet.<init>(SelectorManager.java:306) >> > at >> org.mortbay.io.nio.SelectorManager.doStart(SelectorManager.java: >> > 223) >> > at >> > org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java: >> > 39) >> > at >> > >> org.mortbay.jetty.nio.SelectChannelConnector.doStart(SelectChannelConnector.java: >> > 303) >> > at >> > org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java: >> > 39) >> > at org.mortbay.jetty.Server.doStart(Server.java:233) >> > at >> > org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java: >> > 39) >> > at >> > com.google.gwt.dev.shell.jetty.JettyLauncher.start(JettyLauncher.java: >> > 543) >> > at com.google.gwt.dev.DevMode.doStartUpServer(DevMode.java:421) >> > at com.google.gwt.dev.DevModeBase.startUp(DevModeBase.java:1035) >> > at com.google.gwt.dev.DevModeBase.run(DevModeBase.java:783) >> > at com.google.gwt.dev.DevMode.main(DevMode.java:275) >> > [WARN] failed ser...@18f1d7e >> > java.lang.NoSuchMethodError: org.mortbay.thread.Timeout.<init>(Ljava/ >> > lang/Object;)V >> > at org.mortbay.io.nio.SelectorManager >> > $SelectSet.<init>(SelectorManager.java:306) >> > at >> org.mortbay.io.nio.SelectorManager.doStart(SelectorManager.java: >> > 223) >> > at >> > org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java: >> > 39) >> > at >> > >> org.mortbay.jetty.nio.SelectChannelConnector.doStart(SelectChannelConnector.java: >> > 303) >> > at >> > org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java: >> > 39) >> > at org.mortbay.jetty.Server.doStart(Server.java:233) >> > at >> > org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java: >> > 39) >> > at >> > com.google.gwt.dev.shell.jetty.JettyLauncher.start(JettyLauncher.java: >> > 543) >> > at com.google.gwt.dev.DevMode.doStartUpServer(DevMode.java:421) >> > at com.google.gwt.dev.DevModeBase.startUp(DevModeBase.java:1035) >> > at com.google.gwt.dev.DevModeBase.run(DevModeBase.java:783) >> > at com.google.gwt.dev.DevMode.main(DevMode.java:275) >> > Exception in thread "main" java.lang.NoSuchMethodError: >> > org.mortbay.thread.Timeout.<init>(Ljava/lang/Object;)V >> > at org.mortbay.io.nio.SelectorManager >> > $SelectSet.<init>(SelectorManager.java:306) >> > at >> org.mortbay.io.nio.SelectorManager.doStart(SelectorManager.java: >> > 223) >> > at >> > org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java: >> > 39) >> > at >> > >> org.mortbay.jetty.nio.SelectChannelConnector.doStart(SelectChannelConnector.java: >> > 303) >> > at >> > org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java: >> > 39) >> > at org.mortbay.jetty.Server.doStart(Server.java:233) >> > at >> > org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java: >> > 39) >> > at >> > com.google.gwt.dev.shell.jetty.JettyLauncher.start(JettyLauncher.java: >> > 543) >> > at com.google.gwt.dev.DevMode.doStartUpServer(DevMode.java:421) >> > at com.google.gwt.dev.DevModeBase.startUp(DevModeBase.java:1035) >> > at com.google.gwt.dev.DevModeBase.run(DevModeBase.java:783) >> > at com.google.gwt.dev.DevMode.main(DevMode.java:275) >> >> -- >> 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%[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]<google-web-toolkit%[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.
