Failed to execute goal on project basic-core-data: Could not resolve dependencies for project ct com

完整报错信息:

Failed to execute goal on project basic-core-data: Could not resolve dependencies for project ct com.edu.cloud:bas:basic-core-data:jar:0.0.1: Failed to collect dependencies at at com.edu.cloud:bas:basic-core-utils:jar:0.0.1: Failed to read artifact descriptor for or com.edu.cloud:bas:basic-core-utils:jar:0.0.1: Could not find artifact ct com.edu.cloud:bas:basic:pom:0.0.1 in central (l (https://repo.maven.apache.org/maven2) ->  -> [Help 1]

项目架构:

springcloud + maven + docker

报错原因:

在构建springcloud项目的时候 data模块对utils模块有依赖  在将utils模块  mvn clean package isntall 完成之后,在install  data模块的时候还是报找不到utils的依赖包,原因就是:没有对整体的父pom进行install

解决方法:

先将整个项目install 一下生成父pom信息    再install  utils模块即可

你可能感兴趣的:(Failed to execute goal on project basic-core-data: Could not resolve dependencies for project ct com)