idea 中导入 BladeX 项目无法编译

Blade 未结 2 146
tongyi
tongyi 2024-09-14 11:55

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


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


Maven setting.xml 添加部分


2条回答
  •  tongyi
    tongyi (楼主)
    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:05

    CleanShot20240914120624@2x.png

    CleanShot20240914120720@2x.png

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

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

    CleanShot20240914120821@2x.png

提交回复