Я пытаюсь создать образец проектов Play Framework через виджет-активатор ui. Согласно https://typesafe.com/activator/docs
я сделал следующее:TypeSafe Activator 1.3.2 - Корпоративный прокси
Создано 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
И в пользовательском интерфейсе Очевидно, что процесс оленьей кожи по-прежнему создает образец. Любая идея, что я делаю неправильно?
его -Dhttp и -Dhttps – ChrisGeo