Idea uses maven to download the jar package, and the Could not transfer artifact xxx.xxx.xxx exception occurs, and the Dependency not found exception solution. Pro-test effective

Could not transfer artifact xxx.xxx.xxx exception solution

Insert picture description here

Maven configuration plus. Then reimport

-Dmaven.wagon.http.ssl.insecure=true -Dmaven.wagon.http.ssl.allowall=true

Insert picture description hereFor the original text: https://msd.misuland.com/pd/4146263777181961578

Dependency not found exception solution

Insert picture description hereFor the original text, please see: https://blog.csdn.net/goQuesting/article/details/78422964?utm_medium=distribute.pc_relevant_t0.none-task-blog-BlogCommendFromMachineLearnPai2-1.edu_weight&depth_1-utm_source=distribute.pc_relevant_t0.none-task-blog -BlogCommendFromMachineLearnPai2-1.edu_weight

After the setting is completed, if there is an abnormal download of individual jars. Solution
First delete the jar in the warehouse, and then download again. For
example , the download of spring-boot-starter-web is abnormal. Find the location of the file according to Road King,
Insert picture description heredelete the corresponding version, and download again
Insert picture description here

Guess you like

Origin blog.csdn.net/weixin_43614067/article/details/108143248