Version incompatibility cursive+IntelliJ+lein (SOLVED)

Hello everybody!

I’m trying to set up my dev environment for working on defold editor. The editor is built and run succesfully with the command line tools and i thought to move forward and try the Cursive IntelliJ IDE.

I’ve followed this tutorial:

When i try to add the run configuration (step Setting up the Defold Editor project/5) based on leiningen things don’t work and i get the following message in the IntelliJ log:

2021-01-16 14:03:28,991 [ 298512]  ERROR - llij.ide.plugins.PluginManager - An operation is not implemented: Not yet implemented 
kotlin.NotImplementedError: An operation is not implemented: Not yet implemented
        at cursive.leiningen.run.LeiningenRunTaskConfiguration.isAlternativeJrePathEnabled(LeiningenRunTaskConfiguration.kt:182)
        at com.intellij.execution.util.JreVersionDetector.isJre50Configured(JreVersionDetector.java:31)
...
...
2021-01-16 14:03:28,996 [ 298517]  ERROR - llij.ide.plugins.PluginManager - IntelliJ IDEA 2019.3.5  Build #IC-193.7288.26 
2021-01-16 14:03:28,996 [ 298517]  ERROR - llij.ide.plugins.PluginManager - JDK: 11.0.6; VM: OpenJDK 64-Bit Server VM; Vendor: JetBrains s.r.o 
2021-01-16 14:03:28,996 [ 298517]  ERROR - llij.ide.plugins.PluginManager - OS: Linux 
2021-01-16 14:03:29,008 [ 298529]  ERROR - llij.ide.plugins.PluginManager - Plugin to blame: Cursive version: 1.10.0-2019.3 
2021-01-16 14:03:29,008 [ 298529]  ERROR - llij.ide.plugins.PluginManager - Last Action: editRunConfigurations 
2021-01-16 14:03:31,265 [ 300786]   WARN - llij.ide.plugins.PluginManager - Plugin "Cursive" is incompatible (since build 203.0 > IC-193.7288.26) 

Note the last lines. It seems like an incompatibility issue. I’m missing what ‘build 203.0’ is though.

Here is some version info on my env:

os: Ubuntu 20.04 LTS
openjdk version “11.0.2” 2019-01-15
intelliJ version: ideaIC-2019.3.5.tar.gz
cursive plugin version: 1.10.0-2019.3
leininger: Leiningen 2.9.1 on Java 11.0.2 OpenJDK 64-Bit Server VM

Btw, i’ve checked the compatibility chart for cursive plugin and it is supposed to work with the intellyJ version i have:

Any ideas what could be wrong ?

1 Like

Let me see about getting you some support. Hang tight!

Could you please try updating this?

Actually, i downgraded it to make it work :slight_smile:

After some failed attempts i ended up using cursive-1.9.4-2019.3 successfully. I did the installation manually by copying the files of the plugin under the /plugins directory of intelliJ.
Plugin installation through the IDE can only install a single cursive plugin version. Which in my case didn’t work.

Thanks @britzl

3 Likes