Non-parseable POM C:\Users\admin\.m2\repository\org\springframework问题解决方案
2024-08-29 23:11:07
现象:
[INFO] Scanning for projects...
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[FATAL] Non-parseable POM C:\Users\admin\.m2\repository\org\springframework\cloud\spring-cloud-config-dependencies\2.0.0.RELEASE\spring-cloud-config-dependencies-2.0.0.RELEASE.pom: processing instruction can not have PITarget with reserved xml name (position: END_TAG seen ...</profiles>\n</project>\n<?xml ... @124:7) @ C:\Users\admin\.m2\repository\org\springframework\cloud\spring-cloud-config-dependencies\2.0.0.RELEASE\spring-cloud-config-dependencies-2.0.0.RELEASE.pom, line 124, column 7
[FATAL] Non-parseable POM C:\Users\admin\.m2\repository\org\springframework\cloud\spring-cloud-vault-dependencies\2.0.0.RELEASE\spring-cloud-vault-dependencies-2.0.0.RELEASE.pom: processing instruction can not have PITarget with reserved xml name (position: END_TAG seen ...</repositories>\n\n</project>\n<?xml ... @136:7) @ C:\Users\admin\.m2\repository\org\springframework\cloud\spring-cloud-vault-dependencies\2.0.0.RELEASE\spring-cloud-vault-dependencies-2.0.0.RELEASE.pom, line 136, column 7
[FATAL] Non-parseable POM C:\Users\admin\.m2\repository\org\springframework\cloud\spring-cloud-security-dependencies\2.0.0.RELEASE\spring-cloud-security-dependencies-2.0.0.RELEASE.pom: processing instruction can not have PITarget with reserved xml name (position: END_TAG seen ...</profiles>\n</project>\n<?xml ... @96:7) @ C:\Users\admin\.m2\repository\org\springframework\cloud\spring-cloud-security-dependencies\2.0.0.RELEASE\spring-cloud-security-dependencies-2.0.0.RELEASE.pom, line 96, column 7
[ERROR] 'dependencies.dependency.version' for org.springframework.cloud:spring-cloud-starter-netflix-eureka-client:jar is missing. @ line 45, column 21
[ERROR] 'dependencies.dependency.version' for org.springframework.cloud:spring-cloud-starter-openfeign:jar is missing. @ line 49, column 21
@
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project com.aikucun:logistics:1.0-SNAPSHOT (D:\workspace_aikucun\logistics\pom.xml) has 5 errors
[ERROR] Non-parseable POM C:\Users\admin\.m2\repository\org\springframework\cloud\spring-cloud-config-dependencies\2.0.0.RELEASE\spring-cloud-config-dependencies-2.0.0.RELEASE.pom: processing instruction can not have PITarget with reserved xml name (position: END_TAG seen ...</profiles>\n</project>\n<?xml ... @124:7) @ C:\Users\admin\.m2\repository\org\springframework\cloud\spring-cloud-config-dependencies\2.0.0.RELEASE\spring-cloud-config-dependencies-2.0.0.RELEASE.pom, line 124, column 7 -> [Help 2]
[ERROR] Non-parseable POM C:\Users\admin\.m2\repository\org\springframework\cloud\spring-cloud-vault-dependencies\2.0.0.RELEASE\spring-cloud-vault-dependencies-2.0.0.RELEASE.pom: processing instruction can not have PITarget with reserved xml name (position: END_TAG seen ...</repositories>\n\n</project>\n<?xml ... @136:7) @ C:\Users\admin\.m2\repository\org\springframework\cloud\spring-cloud-vault-dependencies\2.0.0.RELEASE\spring-cloud-vault-dependencies-2.0.0.RELEASE.pom, line 136, column 7 -> [Help 2]
[ERROR] Non-parseable POM C:\Users\admin\.m2\repository\org\springframework\cloud\spring-cloud-security-dependencies\2.0.0.RELEASE\spring-cloud-security-dependencies-2.0.0.RELEASE.pom: processing instruction can not have PITarget with reserved xml name (position: END_TAG seen ...</profiles>\n</project>\n<?xml ... @96:7) @ C:\Users\admin\.m2\repository\org\springframework\cloud\spring-cloud-security-dependencies\2.0.0.RELEASE\spring-cloud-security-dependencies-2.0.0.RELEASE.pom, line 96, column 7 -> [Help 2]
[ERROR] 'dependencies.dependency.version' for org.springframework.cloud:spring-cloud-starter-netflix-eureka-client:jar is missing. @ line 45, column 21
[ERROR] 'dependencies.dependency.version' for org.springframework.cloud:spring-cloud-starter-openfeign:jar is missing. @ line 49, column 21
[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/ProjectBuildingException
[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/ModelParseException
解决方案: 删除C:\Users\admin\.m2\repository\org\springframework\cloud\spring-cloud-config-dependencies\2.0.0.RELEASE文件夹下的内容,重新install
最新文章
- Docker笔记一:基于Docker容器构建并运行 nginx + php + mysql ( mariadb ) 服务环境
- 安装JBOSS
- ASP.NET 5 DNX SDK删除旧版本
- JavaScript 数组中的 indexOf 方法
- HttpClient 4.5.x 工具类设计与实现
- Yii2 如何更好的在页面注入JavaScript
- 【原】iOS中KVC和KVO的区别
- COleChangeSourceDialog不能Change Source的解决方法
- CI调试
- SQL语句练习
- wuzhicms上传弹出层,如何返回数据到当前页面?
- ASP.NET线程与异步
- MPlayer
- python高级编程:缓存
- Android网络通信android-async-http入门
- dede表前缀不定时,查询表#@__archives
- 2015 多校联赛 ——HDU5384(AC自动机)
- Navicat for MySQL破解版安装
- 初识Asp.Net WebApi
- 面试题: 多个 await 处理,有一个失败,就算作失败