现象:

[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问题解决方案的更多相关文章

  1. .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 ...

  2. [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 ...

  3. C盘Administrator中 .m2/repository里面是什么

    ${user.home}/.m2/repository文件夹是maven默认的本地仓库地址maven仓库分为远程仓库和本地仓库,当你在pom里配置依赖项目后,maven首先会从本地仓库查找该项目,如果 ...

  4. 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/ ...

  5. 用maven将项目安装到本地仓库,为什么老是在默认仓库地址(C:\Users\userName\.m2\repository)

    使用mvn clean install安装项目到本地的时候,在idea中配置好了本地仓库地址,见下图: 但是安装时,还是安装到了C:\Users\userName\.m2\repository路径下, ...

  6. iview-cli 项目、iView admin 代理与跨域问题解决方案

    iview-cli 项目.iView admin 跨域.代理问题解决方案 在webpack.dev.config.js文件中: 添加: devServer: { historyApiFallback: ...

  7. 创建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: ...

  8. Maven .m2\repository\jdk\tools\1.7 missing

    在pom.xml文件中加入: <dependency> <groupId>jdk.tools</groupId> <artifactId>jdk.too ...

  9. 解决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 ...

随机推荐

  1. Windows下php环境变量的配置

    1.找到php的路径比如"E:\php_env\PHP".    2.需要保证该目录下php.ini的配置是正确的,如果是刚下载的php包,则可能需要修改相应的一些配置:将php目 ...

  2. R语言实战读书笔记(八)回归

    简单线性:用一个量化验的解释变量预测一个量化的响应变量 多项式:用一个量化的解决变量预测一个量化的响应变量,模型的关系是n阶多项式 多元线性:用两个或多个量化的解释变量预测一个量化的响应变量 多变量: ...

  3. Wireshark如何单独导出包的列信息

    Wireshark如何单独导出包的列信息   Wireshark提供了丰富的数据包导出功能.用户可以将数据包按照需要导出为各种格式.这些格式文件包含了包的各种信息.但是很多时候,用户只需要获取包的特定 ...

  4. 2002-2003 ACM-ICPC Northeastern European Regional Contest (NEERC 02)

    B Bricks 计算几何乱搞 题意: 给你个立方体,问你能不能放进一个管道里面. 题解: 这是一道非常迷的题,其问题在于,你可以不正着放下去,你需要斜着放.此时你需要枚举你旋转的角度,来判断是否可行 ...

  5. POJ 2253 Frogger Floyd

    原题链接:http://poj.org/problem?id=2253 Frogger Time Limit: 1000MS   Memory Limit: 65536K Total Submissi ...

  6. Wannafly挑战赛16

    E(pbds) 题意: 1<=m,n<=5e5 分析: 首先指向关系形成了一个基环外向树森林 实际上我们可以完全不用真正的去移动每个球,而只需要在计数的时候考虑考虑就行了 对于树上的情况, ...

  7. Spin.js-CSS动画进度载入器

    spin.js是一款很easy的CSS载入器,他是一款使用了VML(Vector Makeup Language)的CSS动画效果. spin.js的特性 他有着很强大的适应性.有着下面几个特性: 1 ...

  8. Android的包管理机制浅析(二)

    上篇刚好说到获取到了签名信息,以下进入安装过程,直接上源代码: private void installNewPackageLI(PackageParser.Package pkg, int pars ...

  9. openpyxl的使用记录

    脚本功能描述: 读取指定文件夹内的.xlsx文件,遍历提取整理信息保存到另一指定文件夹中 import openpyxl import os import shutil city='城市名' def ...

  10. [javase学习笔记]-8.7 静态代码块

    这一节我们看一个比較特殊的概念,那就是静态代码块. 前面我们也提到过代码块,就是一段独立的代码空间.那么什么是静态代码块呢?说白了,就是用statickeyword修饰的代码块. 我们来看一个样例: ...