maven项目pom.xml文件第一行报错解决方法 |
您所在的位置:网站首页 › springmvcxml第一行报错 › maven项目pom.xml文件第一行报错解决方法 |
今天在新建一个maven项目时,第一行报了一个错,内容如下 Project build error: Non-parseable POM D:\sts\repository\org\springframework\cloud\spring-cloud-contract-dependencies\1.1.5.RELEASE\spring-cloud-contract-dependencies-1.1.5.RELEASE.pom: processing instruction can not have PITarget with reserved xml name 导致问题原因:因为网络原因导致jar没有下好。 解决方法:找到你本地下载存放jar的地方,然后删除对应的错误jar,我这里删除的就是pring-cloud-contract-dependencies,然后在项目中重新update maven下就好了。
|
今日新闻 |
推荐新闻 |
CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3 |