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:MavenRepositoryorgapachemavenpluginsmaven-resources-plugin2.6maven-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- 最新文章
-
[LeetCode] Max Points on a Line
[LeetCode] String to Integer (atoi)
[LeetCode] Longest Substring Without Repeating Characters
[疑问] C# 多线程程序,如果在并行程序块中开空间会远远慢于将空间开在并行块之外
[LeetCode] Unique Binary Search Trees II
Android开发手记(14) 使用MediaPlayer播放mp3
Android开发手记(13) 几种Alertdialog的使用
Android开发手记(12) Menu的使用
Android开发手记(11) 滑动条SeekBar
Android开发手记(10) 下拉菜单Spinner