一、该问题的重现步骤是什么?
1. 配置号Maven和jdk
2. 启动服务,输出如下内容:
二、你期待的结果是什么?实际看到的又是什么?
服务正常启动
三、你正在使用的是什么产品,什么版本?在什么操作系统上?
bladex Windows10
四、请提供详细的错误堆栈信息,这很重要。
[INFO] Scanning for projects...
[INFO]
[INFO] --------------------< org.springblade:HardStaffAPI >--------------------
[INFO] Building HardStaffAPI 2.9.1.RELEASE
[INFO] --------------------------------[ jar ]---------------------------------
[WARNING] The POM for org.springblade:blade-core-boot:jar:2.9.1.RELEASE is missing, no dependency information available
[WARNING] The POM for com.alibaba:easyexcel:jar:2.2.0 is missing, no dependency information available
[WARNING] The POM for org.springframework.cloud:spring-cloud-starter-openfeign:jar:Hoxton.SR12 is missing, no dependency information available
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.490 s
[INFO] Finished at: 2024-10-03T10:49:50+08:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project HardStaffAPI: Could not resolve dependencies for project org.springblade:HardStaffAPI:jar:2.9.1.RELEASE: The following artifacts could not be resolved: org.springblade:blade-core-boot:jar:2.9.1.RELEASE, com.alibaba:easyexcel:jar:2.2.0, org.springframework.cloud:spring-cloud-starter-openfeign:jar:Hoxton.SR12: org.springblade:blade-core-boot:jar:2.9.1.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 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
这里下载bladex-tool:https://center.javablade.com/blade/BladeX/releases/tag/v2.9.1.release,本地导入后根目录执行mvn clean install命令。然后再刷新bladex工程的依赖。
扫一扫访问 Blade技术社区 移动端