- 检查自己的maven镜像是否配置无误
<mirror>
<id>nexus-aliyun</id>
<mirrorOf>central</mirrorOf>
<name>Nexus aliyun</name>
<url>https://maven.aliyun.com/repository/public</url>
</mirror>
- 查看idea的setting配置,红笔的那一行至关重要,我就是这行没有加
![在这里插入图片描述](https://img-blog.csdnimg.cn/20210215223126795.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3dlaXhpbl80MzkzNDM2Mw==,size_16,color_FFFFFF,t_70)
-Dmaven.wagon.http.ssl.insecure=true -Dmaven.wagon.http.ssl.allowall=true