Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What Leiningen path can't Cursive locate? (IntelliJ Clojure IDE)

I'm trying out Cursive, a Clojure IDE on top of IntelliJ. The Leiningen console works, but prints a "path not found" error.

enter image description here

I can't seem to figure out what it can't locate. Leiningen appears to be working, though. Any idea how I can figure out what it can't locate, and fix it?

I'm on Windows 8.1 64-bit, using IntelliJ 14.0.2, and Cursive 0.1.43.

like image 992
Ryan Avatar asked Jan 02 '15 23:01

Ryan


People also ask

How do I add Clojure to IntelliJ?

In IntelliJ's main menu choose Run and then select Edit Configurations... In the Run/Debug Configurations window, press the plus symbol (+) at the top left corner and select Clojure REPL and Local. Specify a Name (for example The REPL) and select the nREPL radio button. Press the OK button.

Does IntelliJ support Clojure?

Provides full Clojure and ClojureScript language support. Intelligent Editor featuring code completion, syntax highlighting and real-time error highlighting. First-class ClojureScript nearly all functionality is equivalent in Clojure and ClojureScript.

How do I open Clojure project in IntelliJ?

From the welcome screen, click the "Create New Project" link, or if you already have a project open in IntelliJ you can use File→New→Project.... In the following dialog, choose "Clojure" from the list of project types on the left-hand side. You'll then have a list of Clojure project types to choose from on the right.


1 Answers

I couldn't reproduce this issue with IntelliJ 14.0.2 (Community Ed.) + Cursive 0.1.43. My IntelliJ's Leiningen output:

C:\ProgramData\chocolatey\bin\lein.bat version
Leiningen 2.5.0 on Java 1.8.0_25 Java HotSpot(TM) 64-Bit Server VM

One thing you could try is to use Process Monitor to find out what file it's trying to access.

Configure it to only "Show File System Activity", exclude any Result=SUCCESS records, and retry your action. You'll still get lots of events but hopefully if you apply more filtering, you'll be able to pinpoint what file it's trying to access.

Another thing is: are you running any anti virus/malware software? How about if you try disabling it?

like image 60
sindux Avatar answered Oct 12 '22 04:10

sindux