bladex3.1.0 编译问题

Blade 未结 1 167
54848449
54848449 剑圣 2024-09-14 09:56

一、该问题的重现步骤是什么?

1. 下载项目,执行mvn clear 成功

2. 执行 mvn compile 失败,提示:Failed to execute goal on project blade-databutt: Could not resolve dependencies for project org.springblade:blade-databutt:jar:3.1.0.RELEASE: Failed to collect dependencies at com.sft:sft-core-3:jar:3.0.2: Failed to read artifact descriptor for com.sft:sft-core-3:jar:3.0.2: Could not transfer artifact com.sft:sft-core-3:pom:3.0.2 from/to blade-release (http://nexus.javablade.com/repository/maven-releases/): transfer failed for http://nexus.javablade.com/repository/maven-releases/com/sft/sft-core-3/3.0.2/sft-core-3-3.0.2.pom: Connect to nexus.javablade.com:80 [nexus.javablade.com/39.98.193.69] failed: Connection timed out: connect -> [Help 1]

3.失败


二、你期待的结果是什么?实际看到的又是什么?

编译成功、项目运行成功

三、你正在使用的是什么产品,什么版本?在什么操作系统上?

付费版,<bladex.project.version>3.1.0.RELEASE</bladex.project.version>  win10 idea 开发环境

四、请提供详细的错误堆栈信息,这很重要。

[INFO] Reactor Summary for Bladex 3.1.0.RELEASE:

[INFO] 

[INFO] Bladex ............................................. SUCCESS [  0.055 s]

[INFO] blade-common ....................................... SUCCESS [  1.514 s]

[INFO] blade-service-api .................................. SUCCESS [  0.004 s]

[INFO] blade-user-api ..................................... SUCCESS [  0.377 s]

[INFO] blade-system-api ................................... SUCCESS [  0.124 s]

[INFO] blade-auth ......................................... SUCCESS [  0.473 s]

[INFO] blade-gateway ...................................... SUCCESS [  0.194 s]

[INFO] blade-ops .......................................... SUCCESS [  0.002 s]

[INFO] blade-admin ........................................ SUCCESS [  0.156 s]

[INFO] blade-dict-api ..................................... SUCCESS [  0.094 s]

[INFO] blade-develop ...................................... SUCCESS [  0.273 s]

[INFO] blade-log .......................................... SUCCESS [  0.178 s]

[INFO] blade-ops-api ...................................... SUCCESS [  0.004 s]

[INFO] blade-resource-api ................................. SUCCESS [  0.204 s]

[INFO] blade-resource ..................................... SUCCESS [  0.576 s]

[INFO] blade-swagger ...................................... SUCCESS [  0.285 s]

[INFO] blade-desk-api ..................................... SUCCESS [  0.131 s]

[INFO] blade-scope-api .................................... SUCCESS [  0.137 s]

[INFO] blade-service ...................................... SUCCESS [  0.000 s]

[INFO] blade-desk ......................................... SUCCESS [  0.239 s]

[INFO] blade-system ....................................... SUCCESS [  0.605 s]

[INFO] blade-face ......................................... SUCCESS [  0.515 s]

[INFO] blade-baq .......................................... SUCCESS [  0.413 s]

[INFO] blade-databutt ..................................... FAILURE [ 22.459 s]

[INFO] blade-baq-iot ...................................... SKIPPED

[INFO] ------------------------------------------------------------------------

[INFO] BUILD FAILURE

五、若有更多详细信息,请在下面提供。

1条回答
  • 2024-09-14 10:01

    看日志,bladex自带的服务都已经编译成功了,但是你自己编写的 blade-databutt 报错了,看报错是这个jar包(com.sft:sft-core-3:jar:3.0.2)下载失败了。


    而下载的nexus地址是(http://nexus.javablade.com/repository/maven-releases/com/sft/sft-core-3/3.0.2/sft-core-3-3.0.2.pom),这个是不存在的,我们之前也没有推送过这个依赖。


    你需要修改pom文件里的nexus私服地址,修改成自己公司构建的,然后上传对应的jar包,这样构建的时候才能依赖到,才能构建成功

    0 讨论(0)
提交回复