解决:[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
小編覺得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.
前些天發(fā)現(xiàn)了一個(gè)巨牛的人工智能學(xué)習(xí)網(wǎng)站,通俗易懂,風(fēng)趣幽默,忍不住分享一下給大家。點(diǎn)擊跳轉(zhuǎn)到教程。
1. 報(bào)錯(cuò)如下:
[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. 執(zhí)行 mvn? install? -Dmaven.test.skip=true? 也一直不成功。?
3. 原因: maven? 的配置文件? setting.xml 有錯(cuò)。
在配置文件中多了一行:<mirrors>? 導(dǎo)致配置文件的格式不正確。?
4. 去掉多的這一行,保證 setting 文件配置正確,就好了。
?
總結(jié)
以上是生活随笔為你收集整理的解决:[ERROR] Error executing Maven. [ERROR] 1 problem was encountered while building the effective set的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: vue 通信、传值的多种方式(超详细)
- 下一篇: ESP8266代码分析