Fork me on GitHub
#leiningen
<
2018-07-28
>
jgh14:07:46

hey guys, i'm trying to setup a circleci build using a graalvm container, when doing a lein clean I get the following error

+ lein clean
Downloading Leiningen to /root/.lein/self-installs/leiningen-2.8.1-standalone.jar now...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0100   618    0   618    0     0   3082      0 --:--:-- --:--:-- --:--:--  3090

100 12.9M  100 12.9M    0     0  28.5M      0 --:--:-- --:--:-- --:--:-- 28.5M
Could not find artifact lein-sub:lein-sub:jar:0.3.0 in central ()
Could not transfer artifact lein-sub:lein-sub:jar:0.3.0 from/to clojars (): sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
Could not transfer artifact lein-sub:lein-sub:pom:0.3.0 from/to clojars (): sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
This could be due to a typo in :dependencies, file system permissions, or network issues.
If you are behind a proxy, try setting the 'http_proxy' environment variable.

jgh14:07:07

i'm not really sure where to start with this

jgh15:07:59

ah i need to copy a more thorough cacerts file into $JAVA_HOME

jgh15:07:00

how annoying