Open alaneuler opened 3 years ago
After deleting ~/.emacs.d/.cache/lsp/eclipse.jdt.ls/plugins/org.eclipse.buildship.core_3.1.5.v20210112-1646-s.jar
, LSP server starts as usual.
BTW, I don't need gradle support.
I think there is problem when Gradle didn't exit properly.
So after kill gradle process and delete files .fileTableLock
in path of jdtls path,
it starts for me.
I'm using lsp-java with:
I'm experiencing the same TimeoutException
issue when I restart emacs and open a Java file in my project. However, removing the .fileTableLock
doesn't fix the problem.
The only way I've found to get LSP running again is to remove the ~/.emacs.d/.cache/lsp/eclipse.jdt.ls
folder before staring emacs.
Another way around the problem is to use lsp-install-server
and then lsp-workspace-restart
. Note, that I get a deprecation warning about using lsp-java-update-server
.
If I remove ~/.emacs.d/.cache/lsp/eclipse.jdt.ls/plugins/org.eclipse.buildship.core_3.1.x.xxxxxxxx.jar
and restart emacs, lsp just hangs.
Describe the bug LSP server is stuck in starting status and doesn't make progress.
To Reproduce Just open a Java file with lsp-java mode enabled.
macOS BigSur Version 11.5.2
Expected behavior LSP server start normally.
Screenshots
Logs *lsp-log* has following error: