Problem while project is pointing to old JVM.
Trace:
[INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 1.238 s [INFO] Finished at: 2017-01-26T08:56:44+05:30 [INFO] Final Memory: 8M/183M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project spring-hello-word: Fatal error compiling: invalid target release: 1.8 -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException Process finished with exit code 1
Solution for Intellij:
- Open module settings
- Project Settings -> Project
- Update Project SDK: 1.8 (If not then create)
- Update Project Language level

Update Project Module Settings
Was this post helpful?
Let us know, if you liked the post. Only in this way, we can improve us.
Yes
No