Solving Google App Engine : 500 Server Error

I started to learn Google App Engine. Everything was perfect – tutorials, easiness of testing on development server before I wanted to deploy it on server. I knew that I had to use Java 7 instead of Java 8, which is currently supported by App Engine, but didn’t know, where I should change it easily to make this happen, since I used Maven.

This error happened to me:
Server Error The server encountered an error and could not complete your request. Please try again in 30 seconds.

In errors of my app on App Engine Console I saw this:
Uncaught exception from servlet java.lang.UnsupportedClassVersionError: org/apache/jsp/guestbook_jsp : Unsupported major.minor version 52.0 at com.go

You can see logs this way:

You can check your java version:

This is solution:

Then go to profile:

And change your JAVA_HOME variable:

Update that variable:

And now rebuild your AppEngine project and redeploy it on server:

Now check your application on browser:

One thought on “Solving Google App Engine : 500 Server Error”

Leave a Reply

Your email address will not be published. Required fields are marked *