idea 中导入 BladeX 项目无法编译

Blade 未结 2 143
tongyi
tongyi 剑侠 2024-09-14 11:55

idea 中导入 BladeX 项目无法编译, 看起来包的下载仓库不正确


Screenshot from 2024-09-14 11-45-59.png


Maven setting.xml 添加部分


2条回答
  • 2024-09-14 11:58

    文档仔细看,不要跳过: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


    另外请给我们发个邮件(bladejava@qq.com)提交一下授权公司名,我们把你的账号标记为商业账号


    CleanShot20240914115717@2x.png

    0 讨论(0)
  • 2024-09-14 12:05

    我看了这个文档, BladeX-Tool 能正常编译。BladeX 不能, status: 401 Unauthorized 

    [ERROR] Failed to execute goal on project blade-common: Could not resolve dependencies for project org.springblade:blade-common:jar:4.1.0.RELEASE: Failed to collect dependencies at org.springblade:blade-starter-loadbalancer:jar:4.1.0.RELEASE: Failed to read artifact descriptor for org.springblade:blade-starter-loadbalancer:jar:4.1.0.RELEASE: Could not transfer artifact org.springblade:blade-starter-loadbalancer:pom:4.1.0.RELEASE from/to bladex (https://center.javablade.com/api/packages/blade/maven): authentication failed for https://center.javablade.com/api/packages/blade/maven/org/springblade/blade-starter-loadbalancer/4.1.0.RELEASE/blade-starter-loadbalancer-4.1.0.RELEASE.pom, status: 401 Unauthorized -> [Help 1]


    Screenshot from 2024-09-14 12-05-19.png

    作者追问:2024-09-14 12:07

    CleanShot20240914120624@2x.png

    CleanShot20240914120720@2x.png

    作者追问:2024-09-14 12:10

    你去重新申请token,然后再好好看一遍文档,一共就没几个图,不要跳着看

    CleanShot20240914120821@2x.png

    0 讨论(0)
提交回复