fdk-java icon indicating copy to clipboard operation
fdk-java copied to clipboard

Maven error during image build

Open aghasemi opened this issue 7 years ago • 1 comments

This happens for the boilerplate-only java project ,during fn build.

Step 5/11 : RUN ["mvn", "package", "dependency:copy-dependencies", "-DincludeScope=runtime", "-DskipTests=true", "-Dmdep.prependGroupId=true", "-DoutputDirectory=target", "--fail-never"]
 ---> Running in 29e9543024d0
Error: Could not find or load main class 127.0.0.0.8|
Caused by: java.lang.ClassNotFoundException: 127.0.0.0.8|

Any idea why it mistakes 127.0.0.8 as a class name? Anything to do with the proxy? Thanks

aghasemi avatar Dec 19 '18 14:12 aghasemi

Update: It was because of the presence of the NO_PROXY environment variable

aghasemi avatar Dec 20 '18 08:12 aghasemi