[START][2024-07-05 21:11:56] LSP logging initiated
[ERROR][2024-07-05 21:11:56] .../vim/lsp/rpc.lua:772 "rpc" "java" "stderr" "Redirecting log output to: /home/s1n7ax/logs/lsp.log\n"
[WARN][2024-07-05 21:11:57] ...lsp/handlers.lua:136 "The language server spring-boot triggers a registerCapability handler for workspace/didChangeWorkspaceFolders despite dynamicRegistration set to false. Report upstream, this warning is harmless"
[WARN][2024-07-05 21:11:57] ...lsp/handlers.lua:136 "The language server spring-boot triggers a registerCapability handler for textDocument/semanticTokens despite dynamicRegistration set to false. Report upstream, this warning is harmless"
Spring-boot.nvim logs
21:11:56.971 [main] INFO o.s.i.v.b.a.BootLanguageServerBootApp - Starting BootLanguageServerBootApp using Java 17.0.11 with PID 22634 (/home/s1n7ax/.local/share/nvim/mason/packages/spring-boot-tools/extension/language-server/BOOT-INF/classes started by s1n7ax in /home/s1n7ax/Workspace/demo)
21:11:56.972 [main] INFO o.s.i.v.b.a.BootLanguageServerBootApp - No active profile set, falling back to 1 default profile: "default"
21:11:57.356 [main] INFO o.s.i.v.boot.app.SpringSymbolIndex - project listener registered
21:11:57.473 [main] INFO o.s.i.v.b.a.BootLanguageServerBootApp - Started BootLanguageServerBootApp in 0.716 seconds (process running for 1.092)
21:11:57.475 [main] INFO o.s.i.v.c.l.LanguageServerRunner - java.home = /nix/store/23852pv6rvc8gj1x95m691qn8bz5l8r5-openjdk-17.0.11+9/lib/openjdk
21:11:57.476 [LanguageServerApp-lifecycle] INFO o.s.i.v.c.l.LanguageServerRunner - Server ready to start after 1094 ms
21:11:57.476 [LanguageServerApp-lifecycle] INFO o.s.i.v.c.l.LanguageServerRunner - Starting LS as client
21:11:57.476 [LanguageServerApp-lifecycle] INFO o.s.i.v.c.l.LanguageServerRunner - Connected to parent using stdio
21:11:57.523 [pool-14-thread-1] INFO o.s.i.v.c.l.u.SimpleLanguageServer - Initializing
21:11:57.531 [pool-14-thread-1] INFO o.s.i.v.c.l.u.CompletionServerCapabilityRegistration - hasDynamicCompletionRegistration = false
21:11:57.532 [pool-14-thread-1] INFO o.s.i.v.c.l.u.CompletionServerCapabilityRegistration - Registering Completion Capability Statically
21:11:57.532 [pool-14-thread-1] INFO o.s.i.v.c.l.u.SimpleLanguageServer - Returning server capabilities to client
21:11:57.544 [pool-14-thread-1] INFO o.s.i.v.c.l.u.SimpleTextDocumentService - change arrived: 0
21:11:57.544 [Simple-Language-Server main thread] INFO o.s.i.v.b.a.BootVersionValidationConfig - Started Boot Version reconciler
21:11:57.545 [Simple-Language-Server main thread] INFO o.s.i.v.b.jdt.ls.JdtLsProjectCache - INIT CLASSPATH LISTENER enableClasspath=false
21:11:57.546 [Simple-Language-Server main thread] INFO o.s.i.v.b.jdt.ls.JdtLsProjectCache - Enable classpath listener enabled = false current enablement = false
21:11:57.547 [Simple-Language-Server main thread] INFO o.s.i.v.c.l.u.SimpleLanguageServer - Initialization completed after 1165 ms
21:11:57.547 [Simple-Language-Server main thread] INFO o.s.i.v.boot.app.SpringSymbolIndex - update settings of spring indexer - start
21:11:57.547 [Simple-Language-Server main thread] INFO o.s.i.v.boot.app.SpringSymbolIndex - update settings of spring indexer - done
21:11:57.547 [Simple-Language-Server main thread] INFO o.s.i.v.b.j.BootJavaLanguageServerComponents - update live process tracker settings - start
21:11:57.547 [Simple-Language-Server main thread] INFO o.s.i.v.b.j.BootJavaLanguageServerComponents - update live process tracker settings - done
21:11:57.548 [Simple-Language-Server main thread] INFO o.s.i.v.b.a.BootLanguageServerInitializer - Triggering reconcile on all open documents
21:11:57.549 [Simple-Language-Server main thread] INFO o.s.i.v.b.j.l.v.SpringProcessConnectorRemote - updating settings for remote processses to track - start
21:11:57.549 [Simple-Language-Server main thread] INFO o.s.i.v.b.j.l.v.SpringProcessConnectorRemote - updating settings for remote processses to track - done
21:11:57.550 [pool-14-thread-1] INFO o.s.i.v.b.j.u.CompilationUnitCache - Invalidate AST for file:///home/s1n7ax/Workspace/demo/src/main/resources/application.properties
Author of
nvim-java
here. Trying to get this working. So far no success.Upon running
LspInfo
I can see the language server has been started. But, I get no completion inapplication.properties
file for example.Following is the jdlts config I have.
I have added the bundles from the sts4 and these are the loaded bundles.
Following are the logs.
Lsp.log
Spring-boot.nvim logs
Looks normal but does not work. Any idea?