lsp-java icon indicating copy to clipboard operation
lsp-java copied to clipboard

Function lsp-java not defined

Open nyambol opened this issue 4 years ago • 0 comments

On startup, this message:

File mode specification error: (error Autoloading file c:/Users/micha/AppData/Roaming/.emacs.d/elpa/lsp-java-20210928.1353/dap-java.el failed to define function lsp-java) File mode specification error: (error Autoloading file c:/Users/micha/AppData/Roaming/.emacs.d/elpa/lsp-java-20210928.1353/lsp-java.el failed to define function lsp-java)

In a Java buffer, M-x lsp-java: Autoloading file c:/Users/micha/AppData/Roaming/.emacs.d/elpa/lsp-java-20210928.1353/lsp-java.el failed to define function lsp-java

This is the debugger: Debugger entered--Lisp error: (error "Autoloading file c:/Users/micha/AppData/Roaming/.emacs.d/elpa/lsp-java-20210928.1353/lsp-java.el failed to define function lsp-java") command-execute(lsp-java record) execute-extended-command(nil "lsp-java" "lsp-java") funcall-interactively(execute-extended-command nil "lsp-java" "lsp-java") command-execute(execute-extended-command)

Also, C-h f lsp-java has this possibly interesting information.

lsp-java is an interactive function defined in lsp-java.el. Signature (lsp-java [Arg list not available until function definition is loaded.])

GNU Emacs 29.0.50 (build 1, x86_64-w64-mingw32) of 2021-10-02 Windows 10 Pro

Obviously, this is my own build of the current version of the code base. Nothing unusual about its config, however, beyond enabling native compilation, and the lsp-java.el files are not compiled.

system-configuration-options "--with-native-compilation --without-dbus --without-pop --prefix=/c/emacs/emacs29" system-configuration-features "ACL GIF GMP GNUTLS HARFBUZZ JPEG JSON LIBXML2 MODULES NATIVE_COMP NOTIFY W32NOTIFY PDUMPER PNG RSVG SOUND THREADS TIFF TOOLKIT_SCROLL_BARS XPM ZLIB"

Hopefully, I'm making a mountain out of a molehill, and there's some simple thing I've overlooked. ;-)

nyambol avatar Oct 07 '21 20:10 nyambol