Using Eclipse for Web Applications
I'm running Eclipse and trying to follow the steps written here for using th开发者_运维技巧e Google App Engine.
I've pasted what's in the console when I debug as web application. On google's site I've been following the steps. But then when I go to localhost:8888/xxxxxx I get an error.
Please advise. I'm running Java 1.5 and on Mac OSX Tiger and Eclipse is Ganymede.
Thanks.
2011-04-16 09:41:49.967 java[257] [Java CocoaComponent compatibility mode]: Enabled 2011-04-16 09:41:49.968 java[257] [Java CocoaComponent compatibility mode]: Setting timeout for SWT to 0.100000 ******************************************************** Warning: Future versions of the Dev App Server will require Java 1.6 or later. Please upgrade your JRE. ******************************************************** Apr 15, 2011 9:41:51 PM com.google.apphosting.utils.jetty.JettyLogger info INFO: Logging to JettyLogger(null) via com.google.apphosting.utils.jetty.JettyLogger Apr 15, 2011 9:41:51 PM com.google.apphosting.utils.config.AppEngineWebXmlReader readAppEngineWebXml INFO: Successfully processed /Users/kateswanson/Documents/workspace/AppEngineInterview/war/WEB-INF/appengine-web.xml Apr 15, 2011 9:41:51 PM com.google.apphosting.utils.config.AbstractConfigXmlReader readConfigXml INFO: Successfully processed /Users/kateswanson/Documents/workspace/AppEngineInterview/war/WEB-INF/web.xml
It's only about your java version it have to be Java 1.6.
Just upgrade your java version and it's will works fine..
Good Luck
精彩评论