JHipster Maven包装器,连接超时:连接

时间:2019-04-18 14:49:38

标签: eclipse maven jhipster

我正在尝试运行mvnw compile liquibase:diff,出现错误"Exception in thread "main" java.net.ConnectException: Connection timed out: connect"

我尝试按照此处JHipster configure maven wrapper proxy

的说明设置Windows系统变量

我将其设置为“用户变量”,应该是系统变量吗?我无法在工作机上访问系统变量。

在使用这些详细信息之前,我已经成功设置了npm的代理。如何将其插入“ set MAVEN_OPTS = -Dhttp.proxyHost = proxyhost -Dhttp.proxyPort = 8080 -Dhttps.proxyHost = proxyhost -Dhttps.proxyPort = 8080 “

npm config set proxy http://http.proxy.mycompany.com:8000
npm config set http-proxy http://http.proxy.mycompany.com:8000

npm配置设置为https-proxy http://http.proxy.mycompany.com:8000

0 个答案:

没有答案