cursive-ide / cursive

Cursive: The IDE for beautiful Clojure code
588 stars 7 forks source link

Cursive Lein broken on Ubuntu 18.04 #2281

Open kah-ell opened 4 years ago

kah-ell commented 4 years ago

Ubuntu 18.04 IntelliJ IDEA Community 2019.3 Java-Version: 11 and 8 tested Lein: Leiningen 2.9.1 on Java 1.8.0_181 Java HotSpot(TM) 64-Bit Server VM Cursive: 1.9.0-2019.3

Problem: Leiningen support broken

The Lein tab is only showing an empty Profiles node, regardless if a new project was created or an existing one imported.

Even with JDK8 as project SDK it fails with a: "Syntax error compiling deftype* at (clojure/core/rrb_vector/rrbt.clj:282:1). Must hint overloaded method: toArray"

That's somewhat expected for SDK-11 (which fails in terminal too), but even with JDK8 (which works in terminal without a hitch) Cursive can't handle it.

Don't know what I could have done wrong since everything was setup from scratch.

Since no dependencies are resolved this way it makes the whole IDE useless.

cmf commented 4 years ago

Can you send me your log file? Help->Show log in Finder/Explorer.

This is probably due to the JDK used in IntelliJ itself, rather than the project SDK, but no-one else has reported that issue.