解决:[ERROR] Error executing Maven.[ERROR] 1 problem was encountered while building the effective set

1、昨天安装maven时,修改了配置文件发现如下错误

        先观察错误类型,

[ERROR] Error executing Maven.
[ERROR] 1 problem was encountered while building the effective settings
[FATAL] Non-parseable settings E:\apache-maven\apache-maven-3.8.3\conf\settings.xml: Duplicated tag: 'mirrors' (position: START_TAG seen ...\r\n  ... @167:12)  @ E:\apache-maven\apache-maven-3.8.3\conf\settings.xml, line 167, column 12

2、原因:maven  的配置文件  setting.xml错误。

        多余mirrors

解决:[ERROR] Error executing Maven.[ERROR] 1 problem was encountered while building the effective set_第1张图片

 3、再次验证:已解决!

解决:[ERROR] Error executing Maven.[ERROR] 1 problem was encountered while building the effective set_第2张图片

 

 

 

        

你可能感兴趣的:(Spring,boot,maven)