Non-parseable POM C:\Users\admin\.m2\repository\org\springframework问题解决方案
现象:
[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
Non-parseable POM C:\Users\admin\.m2\repository\org\springframework问题解决方案的更多相关文章
- .m2\repository\org\springframework\spring-beans\4.1.4.RELEASE\spring-beans-4.1.4.RELEASE.jar!\org\springframework\beans\factory\xml\spring-beans-4.1.xsd
<?xml version="1.0" encoding="UTF-8" standalone="no"?> <xsd:s ...
- [Error]Archive for required library: 'C:/Users/fk/.m2/repository/com/sun/xml/bind/jaxb-core/2.2.7/jaxb-core-2.2.7.jar'
Eclipse报错: Description Resource Path Location Type Archive for required library: 'C:/Users/fk/.m2/re ...
- C盘Administrator中 .m2/repository里面是什么
${user.home}/.m2/repository文件夹是maven默认的本地仓库地址maven仓库分为远程仓库和本地仓库,当你在pom里配置依赖项目后,maven首先会从本地仓库查找该项目,如果 ...
- Type Archive for required library: 'C:/Users/EuphemiaShaw/.m2/repository/org/apache/hadoop/hadoop-hdfs/2.6.5/hadoop-hdfs-2.6.5.jar' in project 'mapreduce' cannot be read or is not a valid ZIP file
error: Description Resource Path Location Type Archive for required library: 'C:/Users/EuphemiaShaw/ ...
- 用maven将项目安装到本地仓库,为什么老是在默认仓库地址(C:\Users\userName\.m2\repository)
使用mvn clean install安装项目到本地的时候,在idea中配置好了本地仓库地址,见下图: 但是安装时,还是安装到了C:\Users\userName\.m2\repository路径下, ...
- iview-cli 项目、iView admin 代理与跨域问题解决方案
iview-cli 项目.iView admin 跨域.代理问题解决方案 在webpack.dev.config.js文件中: 添加: devServer: { historyApiFallback: ...
- 创建SpringBoot项目pom.xml文件第一行报错:Non-parseable POM E:\maven\repository\org\springframework\securit
在编辑pom.xml时,第一行有个刺眼红色×,然后在Problems看到这个问题 [ERROR] The build could not read 1 project -> [Help 1]E: ...
- Maven .m2\repository\jdk\tools\1.7 missing
在pom.xml文件中加入: <dependency> <groupId>jdk.tools</groupId> <artifactId>jdk.too ...
- 解决Maven打包提示:读取C:\Users\Administrator\.m2\repository\ch\qos\logback\logback-classic\1.2.3\logback-classic-1.2.3.jar时出错; invalid LOC header (bad signature)
1.打包情况 虽然提示读取jar包出错,但是还是能打包成功,在执行打的jar包时会报错,说找不到相关的类. 2.解决方案 从提示的路径可以找到对应的jar包,但为什么会读取错误呢?尝试着双击打开log ...
随机推荐
- AC日记——拍照 洛谷 P3410
题目描述 小B有n个下属,现小B要带着一些下属让别人拍照. 有m个人,每个人都愿意付给小B一定钱让n个人中的一些人进行合影.如果这一些人没带齐那么就不能拍照,小B也不会得到钱. 注意:带下属不是白带的 ...
- CocoaPods | iOS详细使用说明
一:介绍 在iOS开发中,经常会使用到第三方库,[CocoaPods](https://github.com/CocoaPods/CocoaPods)可以用来方便的统一管理这些第三方库. 下面就和大家 ...
- iOS11及Xcode9适配问题汇总
UIScrollView and UITableView的新特性 ScrollView 如果有一些文本位于UI滚动视图的内部,并包含在导航控制器中,现在一般navigationContollers会传 ...
- HTML-在canvas画图中,图片的线上链接已配置允许跨域后,仍然出错提示跨域,怎么解决?
这个问题我已经遇到了2次,第一次解决了后,第二次又遇到了,所以这次做个笔记,怕以后再次遇到 举例: 1.要实现的问题:我需要在canvas画布上画上我的微信头像 2.后台配置已经完成了允许我头像地址的 ...
- MySQL的一个麻烦事
1. 开启一个MySQL连接,在这个连接中发起一个事务,进行一些操作但不提交 2. 拔网线 3. 重连网线,再开启一个MySQL连接,执行delete操作,发现stpe 1中占用的资源没有被释放 4. ...
- Hibernate游记——装备篇《三》(连接池的使用)
这里介绍几种最常见的连接池配置: [说明:在hibernate3.0中,已经不再支持dbcp了,hibernate的作者在hibernate.org中,明确指出在实践中发现dbcp有BUG,在某些种情 ...
- (4)Unity3d镜头
Input.GetMouseButton()://获取鼠标按钮状态,0-鼠标左键,1-鼠标右键,2-鼠标中键: Input.GetAxis("Mouse X ") //鼠标水平向移 ...
- 在spring中使用数据库
若要在spring中使用数据库,首先需要配置数据源. 1.使用数据源连接池,可以使用DBCP(Data Base Connection Pooling) <bean id="datas ...
- 【Maven jar】打包单个或多个文件,有依赖jar包的将架包一起打包成一个jar包供别的项目引用
之前有一片文章,是打包单个java文件的.这次想要将http://www.cnblogs.com/sxdcgaq8080/p/8398780.html 打包成jar包,发现这个java文件中引用了多 ...
- SilverLight:布局(1) Border(边框)对象、Grid(网格)对象
ylbtech-SilverLight-Layout:布局(1) Border(边框)对象.Grid(网格)对象 A, Border(边框)对象 B, Grid(网格)对象 C, Grid(网格)对象 ...