一、该问题的重现步骤是什么?
在bladex-tool中执行mvn clean install
二、你期待的结果是什么?实际看到的又是什么?
期待项目运行成功,但是出现
[ERROR] Failed to execute goal on project blade-core-db: Could not collect dependencies for project org.springblade:blade-core-db:jar:4.3.0.RELEASE
[ERROR] Failed to read artifact descriptor for com.oracle:ojdbc7:jar:12.2.0.1
[ERROR] Caused by: The following artifacts could not be resolved: com.oracle:ojdbc7:pom:12.2.0.1 (absent): Could not transfer artifact com.oracle:ojdbc7:pom:12.2.0.1 from/to bladex (https://center.javablade.com/api/packages/blade/maven): status code: 401, reason phrase: Unauthorized (401)
[ERROR] Failed to read artifact descriptor for com.yashandb.jdbc:yasdb-jdbc:jar:21.1.0.4.8
[ERROR] Caused by: The following artifacts could not be resolved: com.yashandb.jdbc:yasdb-jdbc:pom:21.1.0.4.8 (absent): Could not transfer artifact com.yashandb.jdbc:yasdb-jdbc:pom:21.1.0.4.8 from/to bladex (https://center.javablade.com/api/packages/blade/maven): status code: 401, reason phrase: Unauthorized (401)
三、你正在使用的是什么产品,什么版本?在什么操作系统上?
使用bladex4.3.0RELEASE,在windows操作系统,maven3.9.9,jdk17
四、请提供详细的错误堆栈信息,这很重要。
[ERROR] Failed to execute goal on project blade-core-db: Could not collect dependencies for project org.springblade:blade-core-db:jar:4.3.0.RELEASE
[ERROR] Failed to read artifact descriptor for com.oracle:ojdbc7:jar:12.2.0.1
[ERROR] Caused by: The following artifacts could not be resolved: com.oracle:ojdbc7:pom:12.2.0.1 (absent): Could not transfer artifact com.oracle:ojdbc7:pom:12.2.0.1 from/to bladex (https://center.javablade.com/api/packages/blade/maven): status code: 401, reason phrase: Unauthorized (401)
[ERROR] Failed to read artifact descriptor for com.yashandb.jdbc:yasdb-jdbc:jar:21.1.0.4.8
[ERROR] Caused by: The following artifacts could not be resolved: com.yashandb.jdbc:yasdb-jdbc:pom:21.1.0.4.8 (absent): Could not transfer artifact com.yashandb.jdbc:yasdb-jdbc:pom:21.1.0.4.8 from/to bladex (https://center.javablade.com/api/packages/blade/maven): status code: 401, reason phrase: Unauthorized (401)
[ERROR]
[ERROR] -> [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
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn
五、若有更多详细信息,请在下面提供。
扫一扫访问 Blade技术社区 移动端