Could not calculate build plan: Plugin org.apache.maven.plugins:maven-jar-plugin:2.3.2 or one of its dependencies could not be resolved

前端 未结 21 1532
抹茶落季
抹茶落季 2020-12-08 08:15

I got the following error message when I tried to create a Maven project in eclipse. Many have posted about proxies in settings.xml file and also flush the .m2 folder forcin

21条回答
  •  一个人的身影
    2020-12-08 08:24

    I solved it now. However it only is solved in Netbeans. Not sure why eclipse still won't take the settings.xml that is changed. The solution is however to remove/comment the User/Password param in settings.xml

    Before:

    
        
          optional
          true
          http
          proxyuser
          proxypass
          proxyserver.company.com
          8080
          local.net|some.host.com
        
       
    

    After:

    
        
          optional
          true
          http
          proxyserver.company.com
          8080
          local.net|some.host.com
        
       
    

提交回复
热议问题