1 problem was encountered while building the effective model [FATAL] Non-parseable POM F:\MavenRepository\org\apache\maven\plugins\maven-resources-plugin\2.6\maven-resources-plugin-2.6.pom: start tag

Multiple annotations found at this line:
	- No plugin found for prefix 'war' in the current project and in the plugin groups [] available from the repositories [local (F:\MavenRepository), nexus (http://maven.oschina.net/content/groups/public/), alimaven (http://maven.aliyun.com/
	 nexus/content/groups/public/)]
	- 1 problem was encountered while building the effective model [FATAL] Non-parseable POM F:\MavenRepository\org\apache\maven\plugins\maven-resources-plugin\2.6\maven-resources-plugin-2.6.pom: start tag unexpected 
	 character " (position: TEXT seen ... <img class="logo_osc" src="/img/ie/logo_osc.png""... @83:70) @ line 83, column 70

解决方案

这个问题我找了很久,一开始以为是本地仓库的问题,后来删除本地仓库好几次后发现依旧这样,因此按照错误提示看了一下,果然是文件的问题。可是中央仓库仓库下载的文件,别人用没问题啊,因此我按照错误提示看了一下,是有一个logo的src标签,再仔细看我们项目是配置中配置了仓库地址位开源中国的仓库,因此本地仓库后,注释了开源中国的仓库地址然后问题得到了解决。具体配置(注释掉仓库就解决了,感觉很坑)如下: ```xml
posted @ 2018-05-28 16:18  星朝  阅读(8306)  评论(0编辑  收藏  举报