一、该问题的重现步骤是什么?
1. 更新blade-tool包,idea执行deploy或者install
2.
3.
二、你期待的结果是什么?实际看到的又是什么?
[ERROR] Failed to execute goal on project blade-core-tool: Could not resolve dependencies for project org.springblade:blade-core-tool:jar:4.5.0.RELEASE: The following artifacts could not be resolved: org.springblade:blade-core-launch:jar:4.5.0.RELEASE, org.springblade:blade-core-auto:jar:4.5.0.RELEASE: org.springblade:blade-core-launch:jar:4.5.0.RELEASE was not found in https://maven.aliyun.com/repository/public during a previous attempt. This failure was cached in the local repository and resolution is not reattempted until the update interval of aliyun-repos has elapsed or updates are forced -> [Help 1] [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/DependencyResolutionException
三、你正在使用的是什么产品,什么版本?在什么操作系统上?
blade 微服务企业版
四、请提供详细的错误堆栈信息,这很重要。
D:\2024\jdk17\bin\java.exe -Dmaven.multiModuleProjectDirectory=D:\2024\safe\BladeX\BladeX-tool\BladeX-Tool\blade-core-tool -Djansi.passthrough=true -Dmaven.home=D:\apache-maven-3.8.3 -Dclassworlds.conf=D:\apache-maven-3.8.3\bin\m2.conf "-Dmaven.ext.class.path=D:\2024\idea\ide2024\IntelliJ IDEA 2023.3\plugins\maven\lib\maven-event-listener.jar" "-javaagent:D:\2024\idea\ide2024\IntelliJ IDEA 2023.3\lib\idea_rt.jar=59342:D:\2024\idea\ide2024\IntelliJ IDEA 2023.3\bin" -Dfile.encoding=UTF-8 -classpath D:\apache-maven-3.8.3\boot\plexus-classworlds-2.6.0.jar;D:\apache-maven-3.8.3\boot\plexus-classworlds.license org.codehaus.classworlds.Launcher -Didea.version=2023.3 -s D:\apache-maven-3.8.3\conf\settings.xml -Dmaven.repo.local=D:\development\BladeXmaven -DskipTests=true install
[WARNING] [WARNING] Some problems were encountered while building the effective settings [WARNING] Unrecognised tag: 'repositories' (position: START_TAG seen ...</profile>\r\n -->\r\n<repositories>... @229:15) @ D:\apache-maven-3.8.3\conf\settings.xml, line 229, column 15 [WARNING] Unrecognised tag: 'repositories' (position: START_TAG seen ...</profile>\r\n -->\r\n<repositories>... @229:15) @ D:\apache-maven-3.8.3\conf\settings.xml, line 229, column 15 [WARNING] [INFO] Scanning for projects... [WARNING] [WARNING] Some problems were encountered while building the effective model for org.springblade:blade-core-tool:jar:4.5.0.RELEASE [WARNING] 'version' contains an expression but should be a constant. @ org.springblade:blade-core-tool:${project.parent.version}, D:\2024\safe\BladeX\BladeX-tool\BladeX-Tool\blade-core-tool\pom.xml, line 14, column 14 [WARNING] [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build. [WARNING] [WARNING] For this reason, future Maven versions might no longer support building such malformed projects. [WARNING] [INFO] [INFO] ------------------< org.springblade:blade-core-tool >------------------- [INFO] Building blade-core-tool 4.5.0.RELEASE [INFO] --------------------------------[ jar ]--------------------------------- [WARNING] The POM for org.springblade:blade-core-launch:jar:4.5.0.RELEASE is missing, no dependency information available [WARNING] The POM for org.springblade:blade-core-auto:jar:4.5.0.RELEASE is missing, no dependency information available [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 0.614 s [INFO] Finished at: 2025-03-13T18:10:42+08:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal on project blade-core-tool: Could not resolve dependencies for project org.springblade:blade-core-tool:jar:4.5.0.RELEASE: The following artifacts could not be resolved: org.springblade:blade-core-launch:jar:4.5.0.RELEASE, org.springblade:blade-core-auto:jar:4.5.0.RELEASE: org.springblade:blade-core-launch:jar:4.5.0.RELEASE was not found in https://maven.aliyun.com/repository/public during a previous attempt. This failure was cached in the local repository and resolution is not reattempted until the update interval of aliyun-repos has elapsed or updates are forced -> [Help 1] [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/DependencyResolutionException Process finished with exit code 1
五、若有更多详细信息,请在下面提供。
-
做一下全局刷新,然后再执行mvn clean install看看有没有问题
另外Tool工程也需要配置token,具体看下这里:https://center.javablade.com/blade/BladeX-Doc/src/branch/master/%E7%AC%AC1%E7%AB%A0%20%E5%BF%AB%E9%80%9F%E5%BC%80%E5%A7%8B/1.3%20%E5%B7%A5%E7%A8%8B%E5%AF%BC%E5%85%A5/1.3.0%20%E9%85%8D%E7%BD%AE%E8%B5%84%E6%BA%90%E4%BB%A4%E7%89%8C.md
作者追问:2025-03-14 11:07
这个报错了有影响吗?
讨论(0)
-
我已经全部刷新了clean 没问题 install出现以下错误


作者追问:2025-03-14 11:28
讨论(0)
官方新品
- 热议问题
-
minio上传文件报错,无法上传文件
2
-
token到期了是如何进行续约的
1
-
多数据源日志打印问题
1
-
接口文档blade-desk
1
-
下发http请求,设备响应数据如何处理
1
-
为什么Avue-data的接口报请求未授权
2
-
批量修改租户授权配置报错
1
-
blade.yaml方式配置接口权限不生效
1
-
多租户数据库隔离,如果获取字典信息
2
-
如何修改单点登录授权页面的图标和文字
1
扫一扫访问 Blade技术社区 移动端