上次运行好的程序一下子运行不了了。
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-enforcer-plugin:1.3.1:enforce (enforce-versions) on project rr4a-core: Some Enforcer rules have failed. Look above for specific messages explaining why the rule failed. -> [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
然后在网上找资料,有的说JDK的安装不正确,JRE安装不正确,还有是JDK的版本不对。自己看了下这些东西都没有出问题。
maven的路径出问题了,不知道什么时候它变成了默认的路径,然后修改下
编译通过。。。。