解决:[ERROR] Error executing Maven. [ERROR] 1 problem was encountered while building the effective set
生活随笔
收集整理的這篇文章主要介紹了
解决:[ERROR] Error executing Maven. [ERROR] 1 problem was encountered while building the effective set
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
前些天發現了一個巨牛的人工智能學習網站,通俗易懂,風趣幽默,忍不住分享一下給大家。點擊跳轉到教程。
1. 報錯如下:
[ERROR] Error executing Maven. [ERROR] 1 problem was encountered while building the effective settings [FATAL] Non-parseable settings D:\ChengXu\maven\apache-maven-3.5.2\conf\settings.xml: end tag name </settings> must match start tag name <mirrors> from line 50 (position: TEXT seen ...</activeProfiles>\n\t\n</settings>... @107:12) @ D:\ChengXu\maven\apache-maven-3.5.2\conf\settings.xml, line 107, column 122. 執行 mvn? install? -Dmaven.test.skip=true? 也一直不成功。?
3. 原因: maven? 的配置文件? setting.xml 有錯。
在配置文件中多了一行:<mirrors>? 導致配置文件的格式不正確。?
4. 去掉多的這一行,保證 setting 文件配置正確,就好了。
?
總結
以上是生活随笔為你收集整理的解决:[ERROR] Error executing Maven. [ERROR] 1 problem was encountered while building the effective set的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: vue 通信、传值的多种方式(超详细)
- 下一篇: ESP8266代码分析