用Trae无法启动项目

Blade 未结 1 5

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

1. 在Idea能够正常运行的项目,导入到Trae IDE中无法正常启动,提示如下错误,认证失败,但是maven里已经配置对应的令牌,不然在idea里项目也无法运行

2. 

3.


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


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


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

Scanning for projects...

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

Non-resolvable import POM: The following artifacts could not be resolved: org.springblade.platform:blade-bom:pom:4.8.0.RELEASE (absent): Could not transfer artifact org.springblade.platform:blade-bom:pom:4.8.0.RELEASE from/to bladex (https://center.javablade.com/api/packages/blade/maven): status code: 401, reason phrase: Unauthorized (401) @ line 35, column 25

@

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


The project org.springblade:finance-api:4.8.0.RELEASE (E:\java\ProWorkspace\caizhi-server\pom.xml) has 1 error

Non-resolvable import POM: The following artifacts could not be resolved: org.springblade.platform:blade-bom:pom:4.8.0.RELEASE (absent): Could not transfer artifact org.springblade.platform:blade-bom:pom:4.8.0.RELEASE from/to bladex (https://center.javablade.com/api/packages/blade/maven): status code: 401, reason phrase: Unauthorized (401) @ line 35, column 25 -> [Help 2]


To see the full stack trace of the errors, re-run Maven with the -e switch.

Re-run Maven using the -X switch to enable full debug logging.


For more information about the errors and possible solutions, please read the following articles:

[Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException

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

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

1条回答
  • 没用过trea,不太清楚他的maven配置应该具体怎么配,如果这种情况,你可以下载bladex-tool源码,安装依赖到本地,然后再打开新的编辑器,这样就不需要去联网下载了

    0 讨论(0)
提交回复