1.手动更新idea里的本地仓库
Setting --> Build,Execution,Deployment --> Maven --> Repositories
点击UPDATE进行更新
2.更新不完整依赖命令
打开maven命令框 ---> 输入 -U idea:idea 命令--->点击Execute等待命令运行完成
3.取消选中Work offline选项
Setting --> Build,Execution,Deployment --> Maven
4.勾选上自动导入maven文件和自动下载
Setting --> Build,Execution,Deployment --> Maven --> Importing