eclipse - 'Class file is Java 8 but max supported is Java 7' error when deploying to Google App Engine -


i have java server on google app engine. have been unable deploy online due error:

 illegalargumentexception: class file java 8 max supported java 7 

can advise? have tried following based on other reports:

  • setting web.xml version 2.5
  • setting eclipse jre java 7 (in run configurations > jre > execution environment: javase-1.7)
  • adding following pom.xml:

    <plugin>     <groupid>org.apache.maven.plugins</groupid>     <artifactid>maven-compiler-plugin</artifactid>     <version>3.5.1</version>     <configuration>         <source>1.7</source>         <target>1.7</target>     </configuration> </plugin> 

you need change java compiler compliance level following steps below.

1) go project property.

2) click java compiler view in properties view.

3) check enable project specific setting select compiler compliance level(jdk7 or jdk8) want.

enter image description here


Comments

Popular posts from this blog

python Tkinter Capturing keyboard events save as one single string -

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

javascript - Z-index in d3.js -