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 ...</mirrors>\r\n <mirrors>... @167:12) @ E:\apache-maven\apache-maven-3.8.3\conf\settings.xml, line 167, column 12
2、原因:maven 的配置文件 setting.xml错误。
多余mirrors
3、再次验证:已解决!