intellj idea中maven项目依赖包和插件下载和更新问题
一、当pom.xml中的依赖包或插件不会自动下载时,修改一下setting中的配置,将maven -importing -》detect compiler automatically选项勾选上,保存。二、如果发现下载的依赖包或插件有问题,想重新下载更新,可以打开maven窗口,点击execute maven goal,执行命令mvn -U idea:idea。当在intellj idea中的maven项目中的依赖包或插件不会自动下载,或者下载的jar有问题需要重新下载更新时,可以尝试通过以下方法解决。
原创
2024-05-03 20:44:48 ·
1044 阅读 ·
0 评论