一种解决[ERROR] Failed to execute goal on project store-admin: Could not resolve dependencies for pro的方法

周青的日常问题记录

项目场景

学习硅谷电商毕设项目_微服务版本项目,快速部署阶段,

问题描述

Run AdminApplication时报错[ERROR] Failed to execute goal on project store-admin: Could not resolve dependencies for project com.atguigu:store-admin:jar:1.0.0: Failed to collect dependencies at com.atguigu:store-common-feign:jar:1.0.0: Failed to read artifact descriptor for com.atguigu:store-common-feign:jar:1.0.0: Could not find artifact com.atguigu:b2c-cloud-store:pom:1.0.0 in nexus-aliyun

解决方案

先在Maven里对父项目b2c-cloud-store的Lifecyle进行clean,再进行install 。之后再对store-common-feign子模块里的lifecycle进行install。然后再Run Run AdminApplication。成功。


参考

1
解决方案提出人
【1】【2】

猜你喜欢

转载自blog.csdn.net/two_brother_/article/details/128814130