-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
can't launch REPL in STS 3.7.0.RELEASE Build Id: 201506290652 Platform: Eclipse Mars (4.5.0) #832
Comments
Wow, the error is really weird, and does not seem, at least directly, related to a problem of not being able to open a REPL. |
It might have to do with something specific to this project. I'll play around with it tomorrow. |
I'm sorry, I tried to reproduce the problem : I have downloaded STS 3.7.0, am using OS X Yosemite 10.10.4 (14E46) and Oracle Java "1.8.0_45". Without installing anything else in STS, I installed CCW from http://updatesite.ccw-ide.org/stable I have been able to create a new clojure project, and then, start a REPL for it using 2 different ways:
Also, I didn't see any exception while launching the REPL. |
Sorry, @laurentpetit, my bad. I forgot to mention that this isn't a "Clojure Project" per se. It's a regular Maven Java app with clojure 1.7.0 as a "test" scope dependency. I'm currently working on a skeleton Maven project that'll reproduce this. |
That'll be great, thanks! 2015-08-03 23:35 GMT+02:00 The Alchemist notifications@github.com:
Laurent Petit |
In the mean time, I'll try to reproduce it anyway: playing with the Clojure Preferences, it's possible to tell the launcher to not use leiningen, nor cider (may that matter) for launching your project, but rather just use what's in the java build path (no matter how it's been populated), load ccw.server dynamically (to still get repl completion, etc. goodness), and then just start clojure.main. That should be more or less what is done by default for a project which hasn't been detected as a leiningen project, but still has a clojure jar in its classpath. |
No, I still cannot reproduce locally. Will wait for your small reproducible maven project. |
My apologies, I can't isolate the problem. I even tried importing CCW into my workspace, launching a new instance of the CCW Plugin, and importing the offending project--and everything works fine. :( Well, not sure if it's helpful, but I have the log for when it's misbehaving. Closing for now.
|
OK. |
When trying "Run As Clojure Application", I get two errors in the Eclipse Error Log:
And then:
Not sure if this is a Eclipse Mars thing.
If someone points me in the right direction, I can probably submit a pull request. :)
STS Details
3.7.0.RELEASE
Build Id: 201506290652
Platform: Eclipse Mars (4.5.0)
More Details
Oracle Java 1.8.0_51
Mac OS X Yosemite 10.10.4 (14E46)
The text was updated successfully, but these errors were encountered: