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 @   星朝  阅读(8333)  评论(0编辑  收藏  举报
编辑推荐:
· AI与.NET技术实操系列:向量存储与相似性搜索在 .NET 中的实现
· 基于Microsoft.Extensions.AI核心库实现RAG应用
· Linux系列:如何用heaptrack跟踪.NET程序的非托管内存泄露
· 开发者必知的日志记录最佳实践
· SQL Server 2025 AI相关能力初探
阅读排行:
· winform 绘制太阳,地球,月球 运作规律
· AI与.NET技术实操系列(五):向量存储与相似性搜索在 .NET 中的实现
· 超详细:普通电脑也行Windows部署deepseek R1训练数据并当服务器共享给他人
· 【硬核科普】Trae如何「偷看」你的代码?零基础破解AI编程运行原理
· 上周热点回顾(3.3-3.9)
点击右上角即可分享
微信分享提示