http://blog.csdn.net/wabiaozia/article/details/51733372
************************************
Error message:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project Sshe: Compilation failure
[ERROR] Failure executing Javac, but could not parse the error:
[ERROR] javac:invalid target release:1.7
[ERROR] Usage:javac <options> <source files>
Or Chinese tip: Javac: Invalid target version: 1.7
Problem reason: This problem is because the JDK version is inconsistent with the Pom.xml version of Maven
Troubleshooting steps:
1 environment variable configuration modified?
2 Eclipse installed JREs is it set to 1.7?
My 1 and 2 are all configured with no problem, but still an error. Finally, refer to the method of the Netizen solved.
1 Right-click on the project:
2 Setting up the JRE
------------------------OK---------------------------
My Blog All articles directory: http://blog.csdn.NET/wabiaozia?viewmode=contents
This article references: http://blog.csdn.net/u011752559/article/details/12999633
When maven install in Eclipse, the error indicates that the JDK is invalid target version: 1.7