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 ...
随机推荐
- SQL Server 触发器 详细讲解
最近在做微信活动,需要用到存储过程,在网上找了下感觉使用触发器更好些,和大家分享下 希望对你有用. 触发器是一种特殊类型的存储过程,它不同于之前的我们介绍的存储过程.触发器主要是通过事件进行触发被自动 ...
- js对象定义的最常用的三种方法
定义对象:属性和方法的结合体(变量和函数的结合体) 1.(***)var obj = {} 2.var obj = new Object(); 3.使用function定义对象 具体例子分别为: // ...
- Network | sk_buff
sk_buff结构可能是linux网络代码中最重要的数据结构,它表示接收或发送数据包的包头信息.它在中定义,并包含很多成员变量供网络代码中的各子系统使用. 这个结构被不同的网络层(MAC或者其他 ...
- guake使用
1. 安装:sudo apt-get install guake 2. 在终端输入guake 3. f12:显示/隐藏 4. f11:全屏/正常屏切换 5. f2:重命名终端名 6. 还可以查看修改快 ...
- Codeforces 323 B Tournament-graph
Discription In this problem you have to build tournament graph, consisting of n vertices, such, that ...
- 椭圆人头跟踪bmp图像序列 BMP Image Sequences for Elliptical Head Tracking
BMP Image Sequences for Elliptical Head Tracking The BMP image sequences used in the head tracking d ...
- K-L变换
K-L变换( Karhunen-Loeve Transform)是建立在统计特性基础上的一种变换,有的文献也称为霍特林(Hotelling)变换,因他在1933年最先给出将离散信号变换成一串不相关系数 ...
- [c++菜鸟]《Accelerate C++》读书笔记
第0章 开始学习C++ 1.<<的行为取决于它的操作数类型,<<会把它的右操作数的字符写到左操作数所指示的流中,他是结果就是它的左操作数. 2.std::endl是一个控制器, ...
- 求助大神!怎样除去XML节点反复的值的数据
<?xml version="1.0" encoding="utf-8"? > <UpdCfg> <Upgrade> < ...
- Linux退出时出现there are stopped jobs如何解决?
Linux 使用exit时出现there are stopped jobs如何解决? 这是因为一些命令被挂起了, 在后台驻留,需要关闭. 解决问题: 输入命令jobs -l显示停止进程的详细列表 可以 ...