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


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM