Closed dubiousdavid closed 9 years ago
Can you start by checking :echo join(fireplace#path(), "\n")
and see if the jar file has the correct filename, that is +
and not a space?
Just ran that command. Looks like it's a space a not a +
:
/Users/davidsargeant/.m2/repository/com/roomkey/example/0.4.0 repl/example-0.4.0 repl.jar
Check lein classpath
and (System/getenv "java.class.path")
and see if the problem exists there.
Also, do you have cider-nrepl installed? Whatever your answer, try the opposite.
lein classpath
looks correct. (System/getenv "java.class.path")
returns nil
in the repl. I do have cider-nrepl installed. Eliding that plugin in my lein profile made the problem go away.
Oops I meant System/getProperty
but it's moot. Sounds like a cider-nrepl issue. Confirm with :echo fireplace#message({'op': 'classpath'})
. Make sure you are on the latest cider-nrepl version, and if the problem persists, open an issue there.
I'm seeing '/Users/davidsargeant/.m2/repository/com/roomkey/example/0.4.0 repl/example-0.4.0 repl.jar'
when running the command above. Using [cider/cider-nrepl "0.8.2"]
.
That's directly from cider-nrepl, so open an issue there, yeah.
Sounds good. Thanks for your help.
So I have the following as a repl profile dependency in my lein profiles:
[com.roomkey/example "0.4.0+repl"]
. If I attempt to[<C-D>
to a file that is not in my current project (e.g., a function in clojure.core), I get the following error:If I comment out the dependency mentioned above, all is well. While the '+' is unusual, it is also valid for a version number.