fnproject / fdk-java

Java API and runtime for fn.
Apache License 2.0
142 stars 53 forks source link

Maven error during image build #174

Open aghasemi opened 5 years ago

aghasemi commented 5 years ago

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 commented 5 years ago

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