I tried to use -Dhttp.proxyHost
properties as jvm option to boot spring-boot web application, but it is useless。
here is my code:
java -Dhttp.proxyHost=127.0.0.1 -Dhttp.proxyPort=8888 -Djava.ext.dirs=d:\test\MyApp\WEB-INF\lib;%JAVA_HOME%\jre\lib\ext MyApplication