大家好,这里是教授.F
如果项目上使用的是idea ide的多模块话,需要模块之间的依赖,比如说系统管理模块依赖授权模块进行认证和授权,而认证授权模块需要依赖系统管理模块进行,然后,就开始相互依赖,然后出现这样的问题:
"Could not resolve dependencies for project"
如下图:

解决方法:

找到Local repository那个目录----mvn-repo【拿完来举例】,将里面的文件全部删除。

删除之后,在idea中找到install,全部重新安装。

大差不差了。
如果你还是报错,就找到你对应缺失jar的位置,点击Download Sources。

啊啊啊,舒服了。