Solve problems when idea can not be downloaded using maven

I read a lot of blog and articles do not solve the problem, and finally translated proper way to view the cause of the problem successfully resolved!
As well as setting setting setting maven source in another blog post I mentioned.
Many ways to blog is not written correctly, it may not apply to me.

1. solve enable import (idea will be prompted to the lower left corner)
solution is the local repository, download the maven files, setting files in the same directory
Here Insert Picture Description
Here Insert Picture Description
2. Solve Can not resolve plugin issues and unable to find
this problem is bothering me the longest issue, the problem will later translate
Here Insert Picture Description
solution to this problem is set to skip the certificate authentication method is very simple, compared to other methods to download the certificate is valid
Here Insert Picture Description

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

After setting a good clean, install the perfect solution to the problem.

Published 26 original articles · won praise 45 · views 7464

Guess you like

Origin blog.csdn.net/weixin_43894771/article/details/104875810