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

异常信息

[INFO] Scanning for projects...
[INFO] 
[INFO] ---------------------< com.tuxc:NetFlix-provider >----------------------
[INFO] Building NetFlix-provider 1.0-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.859 s
[INFO] Finished at: 2021-06-15T20:49:39+08:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project NetFlix-provider: Could not resolve dependencies for project com.tuxc:NetFlix-provider:jar:1.0-SNAPSHOT: Failed to collect dependencies at com.tuxc:NetFlix-API:jar:1.0-SNAPSHOT: Failed to read artifact descriptor for com.tuxc:NetFlix-API:jar:1.0-SNAPSHOT: Could not find artifact com.tuxc:springcloud-NetFlix:pom:1.0-SNAPSHOT -> [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

这是由于父子级项目没有进行install,导致jar包依赖未导入完全

解决

将所有项目全部install一遍
在这里插入图片描述

猜你喜欢

转载自blog.csdn.net/weixin_46684099/article/details/117932988
今日推荐