Maven install error: Dependency could not be resolved

后端 未结 6 1864
庸人自扰
庸人自扰 2020-11-27 23:33

I am using Maven 3.1.1. When I run mvn install I get the following error:

D:\\spring source>mvn install
[INFO] Scanning for projects...
[INFO         


        
6条回答
  •  庸人自扰
    2020-11-27 23:51

    This issue was resolved for us by providing the correct proxy host in .m2/settings.xml.

    Example:

    
       
          XXXXXXXXXX
          true
          http
          na-xxxx-proxy.na.xxxxxxxxxx.net
          80
          localhost|10.140.240.90.*
        
       
    

提交回复
热议问题