一,问题描述:
- 注释掉已有的jar包,发现Maven Dependencies并没有自动移除该jar包。
- 在pom.xml中配置好需要下载的jar包依赖,点击保存后,发现并没有下载jar包。
二,解决办法:- 勾选project下的Build Automatically
三,jar包下载,中途停止:
- 找到我们的本地maven仓库目录
命令行输入:mvn help:effective-settings
project--》properties---》Java build path
-
搜索出该目录下的*lastUpdated.properties结尾的文件并删除
-
更新项目时将Force Update of Snapshots/Releases点上勾再更新
最后在选择maven项目,右键maven-》update project 就可以了。
四,IDEA相关问题解决:
https://blog.csdn.net/jwcxs_m/article/details/80076909