Closed kronos closed 7 years ago
Have exactly the same issue. Any progress?
Does downloading the plugin manually from here and then installing it using Settings->Plugins->Install from Disk help?
Edit: Some explanation - that link will download 1.4.1. In this build I found a problem with my build process (a bug in the underlying JetBrains Gradle plugin), which might have caused strange things like this. Hopefully 1.4.1 will help, and installing it manually is the most reliable method.
Thanks a lot, but 1.4.1
behaves same:
Plugin 'com.cursiveclojure.cursive' failed to initialize and will be disabled. Please restart IntelliJ IDEA.
java.lang.NoClassDefFoundError: Could not initialize class clojure.lang.RT
at cursive.config.InitComponent.initClojure(InitComponent.java:100)
at cursive.config.InitComponent.initComponent(InitComponent.java:78)
at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentConfigComponentAdapter.getComponentInstance(ComponentManagerImpl.java:501)
...
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
it starts working after scala plugin installation :)
doesn't help :(
I'm sorry I haven't been able to look into this issue, I'm travelling at the moment. I'll be stable soon and I'll look at this right away.
Which operating systems are you all using?
I'd also be interested to see the structure of your plugin directory. On my OSX box I can see this as follows:
~> tree Library/Application\ Support/IntelliJIdea2016.3/clojure-plugin/
Library/Application\ Support/IntelliJIdea2016.3/clojure-plugin/
└── lib
├── artem-0.5.jar
├── clj-stacktrace-0.2.8.jar
├── clj-time-0.12.2.jar
├── clojure-1.7.0.jar
├── core.rrb-vector-0.0.11.jar
├── cursive-1.4.1-2016.3.jar
├── cursive-lein-bootstrap-1.4.1-2016.3.jar
├── cursive-lein-shim-1.4.1-2016.3.jar
├── fipp-0.6.3.jar
├── joda-time-2.9.4.jar
├── jps-plugin.jar
├── jsr166y-1.7.0.jar
├── kotlin-runtime-1.0.5-2.jar
├── kotlin-stdlib-1.0.5-2.jar
├── rhino-1.7.7.jar
├── runtime-1.4.0-eap1-2016.2.jar
├── shimdandy-api-1.2.0.jar
├── shimdandy-impl-1.2.0.jar
└── tools.nrepl-0.2.12.jar
1 directory, 19 files
For other platforms, you can see where the plugins are stored here. Something like a screenshot of the directory layout in Explorer would be fine (I have no idea if anything like tree
exists on Windows).
~/.IdeaIC2016.3/config/plugins/clojure-plugin $ tree
.
└── lib
├── artem-0.5.jar
├── clj-stacktrace-0.2.8.jar
├── clj-time-0.12.2.jar
├── clojure-1.7.0.jar
├── core.rrb-vector-0.0.11.jar
├── cursive-1.4.1-2016.3.jar
├── cursive-lein-bootstrap-1.4.1-2016.3.jar
├── cursive-lein-shim-1.4.1-2016.3.jar
├── fipp-0.6.3.jar
├── joda-time-2.9.4.jar
├── jps-plugin.jar
├── jsr166y-1.7.0.jar
├── kotlin-runtime-1.0.5-2.jar
├── kotlin-stdlib-1.0.5-2.jar
├── rhino-1.7.7.jar
├── runtime-1.4.0-eap1-2016.2.jar
├── shimdandy-api-1.2.0.jar
├── shimdandy-impl-1.2.0.jar
└── tools.nrepl-0.2.12.jar
Fails for me either.
IntelliJ IDEA 2016.3.1
Build #IC-163.9166.29, built on December 9, 2016
JRE: 1.8.0_112-release-408-b2 x86_64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
macOS Sierra
Version 10.12.1
Cursive
Version: 1.4.2-2016.3
Could someone experiencing this issue send me their full log file to cursive@cursive-ide.com, please? You can find it with Help->Show log in Finder/Explorer.
I believe I have this issue resolved, thanks to great help from @andreidemus. There is a dev build here. You can install it using Settings->Plugins->Install from disk.... If someone suffering from this issue could confirm this build fixes the issue, it would be greatly appreciated.
Yeah! Great job! It now works like a charm! Thanks a lot!!!
I got this during Idea start.
Everything works fine and this suddenly happened after idea restarting. Any idea how to fix it?