微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

POM 无效,传递依赖项如果有将不可用,启用调试日志以获取更多详细信息

如何解决POM 无效,传递依赖项如果有将不可用,启用调试日志以获取更多详细信息

我重新安装了 Windows(之前运行良好),安装了最新的 maven,并通过使用 Git,尝试构建项目,但我收到此错误,并且我已尝试通过谷歌搜索来修复所有方法,还是那个错误。请,我需要帮助。我试过删除 .m2 文件夹,重新安装 Maven,将 POM 更改为旧的。使用 maven 插件仍然存在该错误

[WARNING] The POM for org.apache.maven.plugins:maven-jar-plugin:jar:2.5 is invalid,transitive dependencies (if any) will not be available,enable debug logging for more details
    [ERROR] Plugin org.apache.maven.plugins:maven-jar-plugin:2.5 or one of its dependencies Could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-jar-plugin:jar:2.5: 1 problem was encountered while building the effective model

[ERROR] [FATAL] Non-parseable POM C:\Users\Ilja\.m2\repository\org\apache\maven\plugins\maven-jar-plugin\2.5\maven-jar-plugin-2.5.pom: end tag name </head> must be the same as start tag <link> from line 7 (position: TEXT seen ...</style>\n  </head>... @31:10)  @ line 31,column 10
[ERROR] -> [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/PluginResolutionException

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。