我得到了一个maven spring项目,但是当我尝试运行它时,我不能...有一些想法...
接下来是错误消息:无法执行目标org.apache.maven.plugins:maven-enforcer-plugin
BUILD FAILURE
------------------------------------------------------------------------
Total time: 4.532s
Finished at: Wed Jul 26 16:04:06 COT 2017
Final Memory: 17M/196M
------------------------------------------------------------------------
Failed to execute goal org.apache.maven.plugins:maven-enforcer-plugin:1.4.1:enforce
(enforce-versions) on project SIMI: Some Enforcer rules have failed. Look above for
specific messages explaining why the rule failed. -> [Help 1]
To see the full stack trace of the errors, re-run Maven with the -e switch.
使用-X开关重新运行Maven以启用完全调试日志记录。
有关错误和可能的解决方案的更多信息,请阅读以下条款:如果您使用的maven-enforcer-plugin
版本1.4.1
[说明1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
https://drive.google.com/file/d/0Bz-Mr5XgEX-rQ3Y3U3BYNUFuaU0/view?usp=sharing这里是POM.XML文件 –
你可以发布完整的堆栈跟踪吗?它说“看上面的specfiic消息”。你也可以发布父母的pom.xml吗?我相信包含实际的执行者插件,因为这个pom没有它。 – yaswanth
如果没有堆栈跟踪的上半部分来查看哪个执行程序规则失败很难提供帮助。 – Mig82