[ERROR] Error executing Maven.
[ERROR] 2 problems were encountered while building the effective settings
[FATAL] Non-parseable settings G:\apache-maven-3.6.1\apache-maven-3.6.1\conf\settings.xml: expected START_TAG or END_TAG not TEXT (position: TEXT seen ...</mirrorOf>\n\ua0 \ua0 </mirror>\n\n\ua0 \ua0 <m... @167:7) @ G:\apache-maven-3.6.1\apache-maven-3.6.1\conf\settings.xml, line 167, column 7
[FATAL] Non-parseable settings G:\apache-maven-3.6.1\apache-maven-3.6.1\conf\settings.xml: expected START_TAG or END_TAG not TEXT (position: TEXT seen ...</mirrorOf>\n\ua0 \ua0 </mirror>\n\n\ua0 \ua0 <m... @167:7) @ G:\apache-maven-3.6.1\apache-maven-3.6.1\conf\settings.xml, line 167, column 7
注意:必须把父级的包安装本地来:
先把父级的pom.xm的注释掉:

然后安装接口的服务到本地来:
注意:如果apache-maven-3.6.1的settings.xml配置文件里面有mirrors标签,不能安装额,
必须删除,如图删除下面的mirrors,这个是为了让maven连接国内的仓库

成功

然后安装到本地成功后,在解除父级pom.xml的注释

2926

被折叠的 条评论
为什么被折叠?



