0

I've installed the groovy language via the recommended sdkman package and somehow the path for leiningen has messed up i.e. I can no longer do something like

(import '[clojure.string :as string])

without raising the following error

ClassNotFoundException clojure.string.:as java.net.URLClassLoader.findClass (URLClassLoader.java:381)

The basic lein repl command is working fine otherwise but clojure is native-java libs only. How to correct this behavior?

1 Answers1

0

Oh, turns out it was a classPath problem and the wrong way to import as an alias so I just had to go to .groovy/conf and add the local ~/.m2/**/*.jar to the startup settings. Sovled :)