Skip to content
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

nrepl fails with "No such namespace: orchard.java.parser-utils" #857

Closed
rfb opened this issue Mar 25, 2024 · 2 comments
Closed

nrepl fails with "No such namespace: orchard.java.parser-utils" #857

rfb opened this issue Mar 25, 2024 · 2 comments

Comments

@rfb
Copy link

rfb commented Mar 25, 2024

Expected behavior

cider-nrepl should start using alias from tools.deps

Actual behavior

fails with No such namespace: orchard.java.parser-utils

rfb@snass ~/projects/test-project$ clj -M:cider
Execution error (IllegalArgumentException) at orchard.misc/require-and-resolve (misc.clj:161).
No such namespace: orchard.java.parser-utils

Full report at:
/tmp/clojure-12834814114944848857.edn

Steps to reproduce the problem

empty directory with deps.edn:

{:deps    {org.clojure/clojure {:mvn/version "1.11.1"}}
 :aliases {:cider {:extra-deps {cider/cider-nrepl {:mvn/version "0.47.1"}}
                   :main-opts  ["-m" "nrepl.cmdline" "--middleware" "[cider.nrepl/cider-middleware]" "-i"]}}}

Environment & Version information

cider-nrepl version

0.47.1

Java version

rfb@snass ~/projects/test-project$ java --version
openjdk 21 2023-09-19
OpenJDK Runtime Environment (build 21+-adhoc.nixbld.source)
OpenJDK 64-Bit Server VM (build 21+-adhoc.nixbld.source, mixed mode, sharing)

Operating system

Guix System

@vemv
Copy link
Member

vemv commented Mar 26, 2024

This is a well-known one - Guix users (just like most Linux users) should ensure their JDK is a full one.

We have guix-specific instructions at https://docs.cider.mx/cider/troubleshooting.html

Cheers - V

@vemv vemv closed this as completed Mar 26, 2024
@rfb
Copy link
Author

rfb commented Mar 26, 2024

Oh! Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants