解决:[ERROR] Error executing Maven. [ERROR] 1 problem was encountered while building the effective set
2023-09-27 14:24:44 时间
1. 报错如下:
[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 12
2. 执行 mvn install -Dmaven.test.skip=true 也一直不成功。
3. 原因: maven 的配置文件 setting.xml 有错。
在配置文件中多了一行:<mirrors> 导致配置文件的格式不正确。
4. 去掉多的这一行,保证 setting 文件配置正确,就好了。
<原文地址:https://cloud.tencent.com/developer/article/1486469/div>相关文章
- 解决Maven依赖下载不全的问题
- Maven-在eclipse创建maven项目
- IDEA 每次新建工程都要重新配置 Maven 解决方案
- Maven无法下载com.oracle:ojdbc14:jar解决方法
- maven web.xml is missing and <failOnMissingWebXml> is set to true
- Maven基本介绍与安装
- maven引入本地包
- Maven仓库—Nexus环境搭建及简单介绍
- maven 安装和配置
- maven assembly plugin使用
- maven的配置及一些常用命令
- maven Archetype
- eclipse中maven项目交付svn忽略配置文件
- maven-appfuse配备步骤
- 已解决maven中出现java.lang.ClassNotFoundException: org.apache.http.entity.mime.content.ContentBody异常的正确解决方
- Java 与 Scala 使用Maven混合编译打包
- Maven在导入其他项目时报错:Plugin execution not covered by lifecycle configuration
- Idea Maven SpringMVC+Mysql 登录