Nexus Repo gives 503 with Maven but not with browser

前端 未结 4 915
我寻月下人不归
我寻月下人不归 2021-01-11 16:29

I just created a Nexus repo on a remote server. If I go to a browser on my local computer I see the pom file just fine. However, when I try mvn clean compile I see...

<
4条回答
  •  借酒劲吻你
    2021-01-11 16:38

    The problem is with your proxy settings. The current settings will cause all requests to localhost to go through the proxy which will not be able to connect with localhost and hence returns a 503.

    To solve this issue add the following to the proxy settings in the settings.xml file:
    localhost

提交回复
热议问题