更新idea2022.3.3之后,idea自带的maven3.8.1导致本地的jar包导不进去,有些jar包也下不下来。
有两种解决办法:
使用其他版本的maven,也就是自己电脑的其他版本的maven。不能比3.8.x高
如果使用idea2022.3.3自带的maven。需要
到idea2022.3.3的安装目录的 IntelliJ IDEA 2021.3.3pluginsmavenlibmaven3conf 下的 Setting.xml 文件中
maven-default-http-blocker external:http:* Pseudo repository to mirror external repositories initially using HTTP. http://0.0.0.0/ true
给注释掉,就是因为这个禁用了http下载。
没有maven仓库还需要添加上maven的仓库
alimaven aliyun maven http://maven.aliyun.com/nexus/content/groups/public/ central
就ok了。



