Fork me on GitHub
#cursive
<
2018-12-07
>
George14:12:40

I’m getting

… cannot be resolved
highlights throughout my project and can’t open a REPL. Also the .jar file doesn’t appear under Leiningen Projects. I get the following when I try and open a REPL:
Starting nREPL server...
/Library/Java/JavaVirtualMachines/jdk1.8.0_181.jdk/Contents/Home/bin/java -Dfile.encoding=UTF-8 -Dclojure.compile.path=null -D.version=null -Dclojure.debug=false "-javaagent:/Applications/IntelliJ  " clojure.main -i /private/var/folders/c6/2s6p0fbx3gn038k89brp0kr00000gn/T/form-init5012280428052204459.clj
Error: Could not find or load main class clojure.main

Process finished with exit code 1
Exception starting REPL: java.lang.InterruptedException
However, there is a main function in the project. I have everything working in a different project, just this one which has issues, and I’m not sure why. Any help would be much appreciated, thanks!

George14:12:25

And hi btw, I’ve recently started coding in Clojure - and attended the London Clojure eXchange conference earlier this week, which was great!

👍 4
George14:12:12

I’ve fixed the issue, looks like there was a dependency with certificates in the project.clj which was causing refreshing leiningen projects to fail