Open pbogren opened 4 years ago
@mmFooD I was able to fix this by changing -data
to point to some generic location and not the project directory. I think using getcwd()
is incorrect. Setting it to -data $HOME/.local/share/jdt-language-server
for example, worked for me
I am using the server from archlinux AUR through LanguageClient-neovim.
When I open a maven project I see that the project root is set correctly to the project root which contains a pom.xml file. But diagnostics and go to definition is not working and when checking the jdtls log I see the
Classpath is incomplete. Only syntax errors will be reported
message.The command to invoke jdtls from vim is
And this is
/usr/bin/jdtls
from the AUR package with my addition for jdk 9 supportI have tried removing the
jdt.ls-java-project
and.metadata
directories but it didn't help.