I'm trying to upload on heroku simple servlet with maven. Locally my servlet is working just fine but when i use:
git push heroku master
I get "BUILD FAILURE" with error message:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:
3.1:compile (default-compile) on project HelloServlet: Fatal error compiling:
invalid target release: 1.7 -> [Help 1]
I changed everything to Java 1.7 in system variables, maven is running Java 1.7, javac version is 1.7?
Am I missing something here?
edit: my JAVA_HOME and error screenshot