Hi, I am new here. I am getting the following error when opening a project for the first time in lsp-mode on Emacs 29:
LSP classpath lookup failed when running lein with-profile +test,+dev classpath`. Some features may not work properly if ignored.`
Error: Cannot run program "lein" (in directory "..."): error=2, No such file or directory
Leinnigen is installed, and running the command works when done by hand from the terminal. lein is on the PATH and the exec-path
Solved: This issue is the path. If emacs is opened from the terminal, there is no issue. Setting the exec path in emacs does NOT work, although it probably should. One workaround is to set the :env property in config.edn