无法找到依赖 Dependency not found

Blade 未结 1 1295
187006205
187006205 2023-05-27 12:00

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

1. 下载bladex 空工程

2.  打开idea 

3. open项目

4. image.png

image.png

image.png


Dependency 'org.springblade.platform:blade-bom:3.1.1.RELEASE' not found 


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

期待正常启动项目,现在无法下载依赖

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

bladex-boot 最新版。 在windows系统

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

>mvn clean

[INFO] Scanning for projects...

Downloading from bladex: https://center.javablade.com/api/packages/blade/maven/org/springblade/platform/blade-bom/3.1.1.RELEASE/blade-bom-3.1.1.RELEASE.pom

Downloading from central: https://repo.maven.apache.org/maven2/org/springblade/platform/blade-bom/3.1.1.RELEASE/blade-bom-3.1.1.RELEASE.pom

[ERROR] [ERROR] Some problems were encountered while processing the POMs:

[ERROR] Non-resolvable import POM: Could not transfer artifact org.springblade.platform:blade-bom:pom:3.1.1.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/platform/blade-bom/3.1.1.REL

EASE/blade-bom-3.1.1.RELEASE.pom, status: 401 Unauthorized @ line 31, column 25

[ERROR] 'dependencies.dependency.version' for org.springblade:blade-core-boot:jar is missing. @ line 43, column 21

[ERROR] 'dependencies.dependency.version' for org.springblade:blade-starter-http:jar is missing. @ line 53, column 21

[ERROR] 'dependencies.dependency.version' for org.springblade:blade-starter-api-crypto:jar is missing. @ line 57, column 21

[ERROR] 'dependencies.dependency.version' for org.springblade:blade-starter-datascope:jar is missing. @ line 61, column 21

[ERROR] 'dependencies.dependency.version' for org.springblade:blade-starter-tenant:jar is missing. @ line 65, column 21

[ERROR] 'dependencies.dependency.version' for org.springblade:blade-starter-develop:jar is missing. @ line 69, column 21

[ERROR] 'dependencies.dependency.version' for org.springblade:blade-starter-swagger:jar is missing. @ line 73, column 21

[ERROR] 'dependencies.dependency.version' for org.springblade:blade-starter-excel:jar is missing. @ line 77, column 21

[ERROR] 'dependencies.dependency.version' for org.springblade:blade-starter-social:jar is missing. @ line 81, column 21

[ERROR] 'dependencies.dependency.version' for com.github.xiaoymin:knife4j-openapi2-ui:jar is missing. @ line 85, column 21

[ERROR] 'dependencies.dependency.version' for org.springblade:blade-core-auto:jar is missing. @ line 90, column 21

[ERROR] 'dependencies.dependency.version' for org.springblade:blade-core-test:jar is missing. @ line 95, column 21

[ERROR] 'dependencies.dependency.version' for org.springblade:blade-starter-report:jar is missing. @ line 101, column 21

[ERROR] 'dependencies.dependency.version' for org.springblade:blade-starter-flowable:jar is missing. @ line 106, column 21

[ERROR] 'dependencies.dependency.version' for com.github.whvcse:easy-captcha:jar is missing. @ line 111, column 21

[ERROR] 'dependencies.dependency.version' for com.baomidou:mybatis-plus-generator:jar is missing. @ line 116, column 21

[ERROR] 'dependencies.dependency.version' for org.springblade:blade-starter-oss:jar is missing. @ line 122, column 21

[ERROR] 'dependencies.dependency.version' for org.springblade:blade-starter-sms:jar is missing. @ line 127, column 21

[ERROR] 'dependencies.dependency.version' for com.amazonaws:aws-java-sdk-s3:jar is missing. @ line 132, column 21

[ERROR] 'dependencies.dependency.version' for io.minio:minio:jar is missing. @ line 137, column 21

[ERROR] 'dependencies.dependency.version' for com.aliyun.oss:aliyun-sdk-oss:jar is missing. @ line 142, column 21

[ERROR] 'dependencies.dependency.version' for com.aliyun:aliyun-java-sdk-core:jar is missing. @ line 147, column 21

[ERROR] 'dependencies.dependency.version' for com.huaweicloud:esdk-obs-java:jar is missing. @ line 152, column 21

[ERROR] 'dependencies.dependency.version' for com.qcloud:cos_api:jar is missing. @ line 157, column 21

[ERROR] 'dependencies.dependency.version' for com.github.qcloudsms:qcloudsms:jar is missing. @ line 162, column 21

[ERROR] 'dependencies.dependency.version' for com.qiniu:qiniu-java-sdk:jar is missing. @ line 167, column 21

[ERROR] 'dependencies.dependency.version' for com.yunpian.sdk:yunpian-java-sdk:jar is missing. @ line 172, column 21

[ERROR] 'dependencies.dependency.version' for org.projectlombok:lombok:jar is missing. @ line 202, column 21

 @

[ERROR] The build could not read 1 project -> [Help 1]

[ERROR]

[ERROR]   The project org.springblade:BladeX-Boot:3.1.1.RELEASE (E:\javaProject\chat-boot\bladex-boot\pom.xml) has 29 errors

[ERROR]     Non-resolvable import POM: Could not transfer artifact org.springblade.platform:blade-bom:pom:3.1.1.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/platform/blade-bom/3.1.1

.RELEASE/blade-bom-3.1.1.RELEASE.pom, status: 401 Unauthorized @ line 31, column 25 -> [Help 2]

[ERROR]     'dependencies.dependency.version' for org.springblade:blade-core-boot:jar is missing. @ line 43, column 21

[ERROR]     'dependencies.dependency.version' for org.springblade:blade-starter-http:jar is missing. @ line 53, column 21

[ERROR]     'dependencies.dependency.version' for org.springblade:blade-starter-api-crypto:jar is missing. @ line 57, column 21

[ERROR]     'dependencies.dependency.version' for org.springblade:blade-starter-datascope:jar is missing. @ line 61, column 21

[ERROR]     'dependencies.dependency.version' for org.springblade:blade-starter-tenant:jar is missing. @ line 65, column 21

[ERROR]     'dependencies.dependency.version' for org.springblade:blade-starter-develop:jar is missing. @ line 69, column 21

[ERROR]     'dependencies.dependency.version' for org.springblade:blade-starter-swagger:jar is missing. @ line 73, column 21

[ERROR]     'dependencies.dependency.version' for org.springblade:blade-starter-excel:jar is missing. @ line 77, column 21

[ERROR]     'dependencies.dependency.version' for org.springblade:blade-starter-social:jar is missing. @ line 81, column 21

[ERROR]     'dependencies.dependency.version' for com.github.xiaoymin:knife4j-openapi2-ui:jar is missing. @ line 85, column 21

[ERROR]     'dependencies.dependency.version' for org.springblade:blade-core-auto:jar is missing. @ line 90, column 21

[ERROR]     'dependencies.dependency.version' for org.springblade:blade-core-test:jar is missing. @ line 95, column 21

[ERROR]     'dependencies.dependency.version' for org.springblade:blade-starter-report:jar is missing. @ line 101, column 21

[ERROR]     'dependencies.dependency.version' for org.springblade:blade-starter-flowable:jar is missing. @ line 106, column 21

[ERROR]     'dependencies.dependency.version' for com.github.whvcse:easy-captcha:jar is missing. @ line 111, column 21

[ERROR]     'dependencies.dependency.version' for com.baomidou:mybatis-plus-generator:jar is missing. @ line 116, column 21

[ERROR]     'dependencies.dependency.version' for org.springblade:blade-starter-oss:jar is missing. @ line 122, column 21

[ERROR]     'dependencies.dependency.version' for org.springblade:blade-starter-sms:jar is missing. @ line 127, column 21

[ERROR]     'dependencies.dependency.version' for com.amazonaws:aws-java-sdk-s3:jar is missing. @ line 132, column 21

[ERROR]     'dependencies.dependency.version' for io.minio:minio:jar is missing. @ line 137, column 21

[ERROR]     'dependencies.dependency.version' for com.aliyun.oss:aliyun-sdk-oss:jar is missing. @ line 142, column 21

[ERROR]     'dependencies.dependency.version' for com.aliyun:aliyun-java-sdk-core:jar is missing. @ line 147, column 21

[ERROR]     'dependencies.dependency.version' for com.huaweicloud:esdk-obs-java:jar is missing. @ line 152, column 21

[ERROR]     'dependencies.dependency.version' for com.qcloud:cos_api:jar is missing. @ line 157, column 21

[ERROR]     'dependencies.dependency.version' for com.github.qcloudsms:qcloudsms:jar is missing. @ line 162, column 21

[ERROR]     'dependencies.dependency.version' for com.qiniu:qiniu-java-sdk:jar is missing. @ line 167, column 21

[ERROR]     'dependencies.dependency.version' for com.yunpian.sdk:yunpian-java-sdk:jar is missing. @ line 172, column 21

[ERROR]     'dependencies.dependency.version' for org.projectlombok:lombok:jar is missing. @ line 202, column 21

[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/ProjectBuildingException

[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException

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


1条回答
提交回复