Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Maven error during image build #174

Open
aghasemi opened this issue Dec 19, 2018 · 1 comment
Open

Maven error during image build #174

aghasemi opened this issue Dec 19, 2018 · 1 comment

Comments

@aghasemi
Copy link

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
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant