On Friday, 20 April 2012 21:26:48 UTC+5:30, Robert Kluin wrote:
>
> Hey Gowtham,
> You need to take a look at your apps logs and see what the exception
> is being thrown.
>
>
> Robert
>
> On Thu, Apr 19, 2012 at 05:24, Gowtham Gutha
> <[email protected]<javascript:>>
> wrote:
> > 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.
> >
> >
> > --
> > 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
> > [email protected]<javascript:>
> .
> > To unsubscribe from this group, send email to
> > [email protected] <javascript:>.
> > For more options, visit this group at
> > http://groups.google.com/group/google-appengine?hl=en.
>
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)
--
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/-/RsFKfWtW5V4J.
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-appengine?hl=en.