500 Server Error

315 views
Skip to first unread message

Gowtham Gutha

unread,
Apr 19, 2012, 6:24:07 AM4/19/12
to google-a...@googlegroups.com
I tried a sample java servlet application and deployed it to Google App Engine through Eclipse. My sample project worked well on my localhost but on appengine it did not.

http://guthagowtham.appspot.com/ is my project url. This is simple test it takes input from the user and prints it on the other page.

When i typed something and clicked on submit, it is unable to display the output. Here is what i got  http://guthagowtham.appspot.com/simple?name=sample&submit=submit

The following message is displayed

Error: Server Error

The server encountered an error and could not complete your request.

If the problem persists, please report your problem and mention this error message and the query that caused it.

Is there any solution for this.


Robert Kluin

unread,
Apr 20, 2012, 11:56:48 AM4/20/12
to google-a...@googlegroups.com
Hey Gowtham,
You need to take a look at your apps logs and see what the exception
is being thrown.


Robert

> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/google-appengine/-/YDMQyt2P0goJ.
> To post to this group, send email to google-a...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengi...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.

Gowtham Gutha

unread,
Aug 18, 2012, 4:52:20 PM8/18/12
to google-a...@googlegroups.com


Here is the log
Uncaught exception from servlet
java.lang.UnsupportedClassVersionError: com/simple/SimpleServlet : Unsupported major.minor version 51.0
	at com.google.appengine.runtime.Request.process-78c19a91859a55eb(Request.java)
	at java.lang.ClassLoader.defineClass1(Native Method)
	at java.lang.ClassLoader.defineClass(ClassLoader.java:634)
	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
	at java.net.URLClassLoader.defineClass(URLClassLoader.java:277)
	at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:616)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
	at org.mortbay.util.Loader.loadClass(Loader.java:91)
	at org.mortbay.util.Loader.loadClass(Loader.java:71)
	at org.mortbay.jetty.servlet.Holder.doStart(Holder.java:73)
	at org.mortbay.jetty.servlet.ServletHolder.doStart(ServletHolder.java:242)
	at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
	at org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:685)
	at org.mortbay.jetty.servlet.Context.startContext(Context.java:140)
	at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1250)
	at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517)
	at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:467)
	at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
	at com.google.tracing.TraceContext$TraceContextRunnable.runInContext(TraceContext.java:449)
	at com.google.tracing.TraceContext$TraceContextRunnable$1.run(TraceContext.java:455)
	at com.google.tracing.TraceContext.runInContext(TraceContext.java:695)
	at com.google.tracing.TraceContext$AbstractTraceContextCallback.runInInheritedContextNoUnref(TraceContext.java:333)
	at com.google.tracing.TraceContext$AbstractTraceContextCallback.runInInheritedContext(TraceContext.java:325)
	at com.google.tracing.TraceContext$TraceContextRunnable.run(TraceContext.java:453)
	at java.lang.Thread.run(Thread.java:679)
Reply all
Reply to author
Forward
0 new messages