一、该问题的重现步骤是什么?
1. jdk17+maven3.9.11+bladeX4.5.0
2.
3.
二、你期待的结果是什么?实际看到的又是什么?
maven clean install 成功
三、你正在使用的是什么产品,什么版本?在什么操作系统上?
bladeX4.5.0 ,Windows
四、请提供详细的错误堆栈信息,这很重要。
mvn clean install -U
[WARNING]
[WARNING] Some problems were encountered while building the effective settings
[WARNING] expected START_TAG or END_TAG not TEXT (position: TEXT seen ...</mirror>\n\n<mirror>\n\ua0\ua0\ua0\ua0\ua0\ua0\ua0\ua0<i... @172:11) @ D:\apache-maven-3.
9.11\conf\settings.xml, line 172, column 11
[WARNING]
[INFO] Scanning for projects...
Downloading from nexus-aliyun: https://maven.aliyun.com/repository/public/org/springblade/platform/blade-bom/4.5.0.RELEASE/blade-bom-4.5.0.RELEASE.pom
Downloading from bladex: https://center.javablade.com/api/packages/blade/maven/org/springblade/platform/blade-bom/4.5.0.RELEASE/blade-bom-4.5.0.RELEASE.pom
Downloading from aliyun: https://maven.aliyun.com/repository/public/org/springblade/platform/blade-bom/4.5.0.RELEASE/blade-bom-4.5.0.RELEASE.pom
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[ERROR] Non-resolvable import POM: The following artifacts could not be resolved: org.springblade.platform:blade-bom:pom:4.5.0.RELEASE (absent): Could not transfer
artifact org.springblade.platform:blade-bom:pom:4.5.0.RELEASE from/to bladex (https://center.javablade.com/api/packages/blade/maven): status code: 401, reason phras
e: Unauthorized (401) @ org.springblade:BladeX:${revision}, D:\Ayunqi\bladex-master\pom.xml, line 44, column 25
[ERROR] 'dependencies.dependency.version' for org.projectlombok:lombok:jar is missing. @ org.springblade:BladeX:${revision}, D:\Ayunqi\bladex-master\pom.xml, line 1
22, column 21
@
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project org.springblade:BladeX:4.5.0.RELEASE (D:\Ayunqi\bladex-master\pom.xml) has 2 errors
[ERROR] Non-resolvable import POM: The following artifacts could not be resolved: org.springblade.platform:blade-bom:pom:4.5.0.RELEASE (absent): Could not trans
fer artifact org.springblade.platform:blade-bom:pom:4.5.0.RELEASE from/to bladex (https://center.javablade.com/api/packages/blade/maven): status code: 401, reason p
hrase: Unauthorized (401) @ org.springblade:BladeX:${revision}, D:\Ayunqi\bladex-master\pom.xml, line 44, column 25 -> [Help 2]
[ERROR] 'dependencies.dependency.version' for org.projectlombok:lombok:jar is missing. @ org.springblade:BladeX:${revision}, D:\Ayunqi\bladex-master\pom.xml, li
ne 122, column 21
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException
五、若有更多详细信息,请在下面提供。
扫一扫访问 Blade技术社区 移动端