Open costalfy opened 7 years ago
Was this ever documented anywhere? I'm behind a corporate proxy and can't download dependencies
Caused by: java.lang.IllegalStateException: Cannot download library for launcher org.springframework.boot.experimental:spring-boot-thin-launcher:jar:exec:1.0.0.RELEASE
@pnewhook I have exactly the same issue, how did you solve it? I added my proxy configuration to my JAVA_OPTIONS but still it did not work.
@dhamaris I think I ran the command first on a public network to download dependencies, then did subsequent runs on the corporate network
@pnewhook thanks for the tip, I cannot use a public network from work but I will try at home.
I hope that this issue gets fixed for later releases.
The comment here https://github.com/spring-cloud/spring-cloud-cli/issues/49#issuecomment-264938517 can be applied as below
spring cloud cli <options> -- --spring.cloud.maven.proxy.host=proxyhost ...
Hi, [after coming back from days off work] thanks, for the records a little bit more info: The line looks like e.g. spring cloud configserver -- --spring.cloud.maven.proxy.host=localhost --spring.cloud.maven.proxy.port=8888 for a proxy running on localhost:8888. Thanks Dennis
Hi all, i'm trying to use Spring Cloud launcher but it failed to start any services:
I'm think it's a forgotten proxy setting because i'm beind a proxy server at work... How to configure proxy settings for spring Cloud CLI?