Playframework 类型安全激活器1.3.2-公司代理

Playframework 类型安全激活器1.3.2-公司代理,playframework,typesafe-activator,Playframework,Typesafe Activator,我试图通过typesafe activator ui创建示例Play框架项目。 根据https://typesafe.com/activator/docs我已完成以下工作: 创建c:\users\myuser\.activator\activatorconfig.txt时使用: # Proxy settings -Dhttp.proxyHost=proxyname -Dhttp.proxyPort=80 -Dhttps.proxyHost=proxyname -Dhttps.proxyPort=

我试图通过typesafe activator ui创建示例Play框架项目。 根据
https://typesafe.com/activator/docs
我已完成以下工作:

创建
c:\users\myuser\.activator\activatorconfig.txt
时使用:

# Proxy settings
-Dhttp.proxyHost=proxyname
-Dhttp.proxyPort=80
-Dhttps.proxyHost=proxyname
-Dhttps.proxyPort=80
# Here we configure the hosts which should not go through the proxy.  You should include your private network, if applicable.
-Dhttp.nonProxyHosts="localhost|127.0.0.1"
# These are commented out, but if you need to use authentication for your proxy, please fill these out.
#-Dhttp.proxyUser=PUT YOUR PROXY USER HERE
#-Dhttp.proxyPassword=PUT YOUR PROXY PASSWORD HERE
还创建了
c:\users\myuser\.sbt\jvmargs
,其中包含与
activatorconfig.txt
完全相同的属性
jvmargs
只是一个没有扩展名的文本文件

当我运行
activator ui
并尝试创建一些示例应用程序时,控制台中会显示以下内容:

Checking for a newer version of Activator (current version 1.3.2)...
   ... failed to get latest version information: java.net.SocketTimeoutException: connect timed out
Found previous process id: 12236
Local repository: activator-launcher-local @ file:////C:/activator-1.3.2/repository
Local repository: activator-local @ file:////C:/activator-1.3.2/repository
Play server process ID is 7304
[info] play - Application started (Prod)
[info] play - Listening for HTTP on /127.0.0.1:8888
[info] a.e.s.Slf4jLogger - Slf4jLogger started
[info] c.a.h.AmazonHttpClient - Configuring Proxy. Proxy Host: proxyname Proxy Port: 80
[info] application - Failed to record a clone of 'hello-slick-2.1': java.net.ConnectException: Connection timed out: connect
[info] application - Failed to record a clone of 'hello-slick-2.1': java.net.ConnectException: Connection timed out: connect

显然,在UI中,该过程不会继续创建示例。知道我做错了什么吗?

尝试将代理添加到系统变量(控制面板->系统->编辑系统环境变量->环境变量):

HTTP\u PROXY=HTTP://:

设置变量后,需要重新启动计算机

结果应该如下所示:


its-Dhttp和-Dhttps