maven编译 Process terminated【已解决】
解决:[ERROR] Error executing Maven. [ERROR] 1 problem was encountered while building the effective set
我出现这个问题的原因是因为maven文件目录下得conf文件下得settings.xml文件配置出现问题,我在添加中心仓库的时候添加的字段中,注释括号出现了问题:
这里是正确的配置代码:
<mirrors>
<!-- mirror
| Specifies a repository mirror site to use instead of a given repository. The repository that
| this mirror serves has an ID that matches the mirrorOf element of this mirror. IDs are used
| for inheritance and direct lookup purposes, and must be unique across the set of mirrors.
|
-->
<!-- 阿里云仓库 -->
<mirror>
<id>alimaven</id>