clay
clay copied to clipboard
Native Windows build throws SunCertPathBuilderException when trying to run `(clay/make! foo)`
Trying to follow the tutorial at https://scicloj.github.io/clay/ on a native Windows (not WSL) build, and error indicates that it is requiring a certification path to run clay/make!.
(clay/make! {:single-form '(+ 1 2 3)})
Execution error (SunCertPathBuilderException) at sun.security.provider.certpath.SunCertPathBuilder/build (SunCertPathBuilder.java:148).
unable to find valid certification path to requested target
Windows info: Edition Windows 10 Pro Version 22H2 Installed on 12/20/2021 OS build 19045.5247 Experience Windows Feature Experience Pack 1000.19060.1000.0
deps.edn:
{:paths ["src" "resources"]
:deps {org.clojure/clojure {:mvn/version "1.12.0"}
org.scicloj/noj {:mvn/version "2-beta3"}}
:aliases
{:dev {;; for disabling the official compiler
:classpath-overrides {org.clojure/clojure nil}
:extra-deps {com.github.flow-storm/clojure {:mvn/version "1.12.0-2"}
com.github.flow-storm/flow-storm-dbg {:mvn/version "4.0.2"}}
:jvm-opts ["-Dclojure.storm.instrumentEnable=true"
"-Dclojure.storm.instrumentOnlyPrefixes=YOUR_INSTRUMENTATION_STRING"]}
:run-m {:main-opts ["-m" "myuser.myproject"]}
:run-x {:ns-default myuser.myproject
:exec-fn greet
:exec-args {:name "Clojure"}}
:build {:deps {io.github.clojure/tools.build
{:mvn/version "0.10.5"}}
:ns-default build}
:test {:extra-paths ["test"]
:extra-deps {org.clojure/test.check {:mvn/version "1.1.1"}
io.github.cognitect-labs/test-runner
{:git/tag "v0.5.1" :git/sha "dfb30dd"}}}}}
Note: Added flowstorm to debug issue; issue present without flowstorm
Thanks