How to fix: Google App Engine: java.lang.UnsupportedClassVersionError: org/apache/jsp/ Unsupported major.minor version 52.0

For

Unsupported major.minor version 52.0.

it means you compile on version 52 which is java 8. But then execute it on lower JRE version (GAE currently uses java 7).

To fix this problem without remove your JAVA JDK of version > 7, you can deploy by this way:

$ export JAVA_HOME=/path/to/your/jdk7/jdk1.7.0_67/ && mvn clean appengine:update &&  export JAVA_HOME=/path/to/your/jdk8

Sign up for Google Apps with the promo codes

Comments

Popular posts from this blog

How to get Active Transactions and Locks from MySQL

Example of a PAC file