中途运行了很多其他项目,maven的配置文件还被我修改了一次。导致再次运行苍穹外卖项目出现很多错误。


发现没有办法,把本地的仓库删了个干干净净。然后点击clean发现报错:
Cannot access alimaven (http://mavejavascript:void(0);n.aliyun.com/nexus/content/groups/public/) in offline mode
Try to run Maven import with -U flag (force update snapshots)
解决办法:

之后在重新clean,然后就好了(clean期间idea一直在downloading maven plugins)
参考:maven 解决Cannot access alimaven (http://maven.aliyun.com/nexus/content/repositories/central/)-CSDN博客