1、在IDEA中点击file-setting 2、在搜索框中搜索“maven”,在maven选项中点击下,之后点击override,再修改Local Repository为新的maven的依赖dependency存放地址即可