You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
jdtls is working, but the code diagnostics are broken, it is not highlighted. it stopped to work after update
for example, in this screenshot clangd works properly, but jdtls is not****
Why do you think this is an issue with mason-lspconfig.nvim?
before running packersync this didn't happened, after jdtls refused to work, then I changed config, and then jdtls fixed, but it wasn't completely repaired
Darwin a-3.local 24.1.0 Darwin Kernel Version 24.1.0: Thu Oct 10 21:02:45 PDT 2024; root:xnu-11215.41.3~2/RELEASE_ARM64_T8112 arm64
I've manually reviewed the Nvim LPS client log (:LspLog) to find potential errors
Yes
I've recently downloaded the latest plugin version of mason.nvim, mason-lspconfig.nvim, and nvim-lspconfig
Yes
Affected language servers
jdtls
Steps to reproduce
git clone [email protected]:93mmm/.config.git and copy nvim config to .config dir
nvim .java file
Actual behavior
don't highlights anything, eventually shows package warning
Expected behavior
highlight some errors
LspInfo
lspconfig: require("lspconfig.health").check()
LSP configs active in this session (globally) ~
- Configured servers: pylsp, clangd, cmake, marksman, lua_ls, jdtls, bashls
- OK Deprecated servers: (none)
LSP configs active in this buffer (bufnr: 1) ~
- Language client log: ~/.local/state/nvim/lsp.log
- Detected filetype: `java`
- 1 client(s) attached to this buffer
- Client: `jdtls` (id: 1, bufnr: [1])
root directory: ~/.config/
filetypes: java
cmd: ~/.local/share/nvim/mason/bin/jdtls -configuration /Users/a/.cache/jdtls/config -data /Users/a/.cache/jdtls/workspace
version: `usage: jdtls [-h] [--validate-java-version] [--no-validate-java-version]…` (Failed to get version) Tried:
`/Users/a/.local/share/nvim/mason/bin/jdtls --version`
`/Users/a/.local/share/nvim/mason/bin/jdtls -version`
`/Users/a/.local/share/nvim/mason/bin/jdtls version`
`/Users/a/.local/share/nvim/mason/bin/jdtls --help`
executable: true
autostart: true
Docs for active configs: ~
- jdtls docs: >markdown
https://projects.eclipse.org/projects/eclipse.jdt.ls
Language server for Java.
...
LspLog
No response
Healthcheck
==============================================================================
mason: require("mason.health").check()
mason.nvim ~
- OK mason.nvim version v1.10.0
- OK PATH: prepend
- OK Providers:
mason.providers.registry-api
mason.providers.client
- OK neovim version >= 0.7.0
mason.nvim [Registries] ~
- OK Registry `github.com/mason-org/mason-registry version: 2025-01-12-urgent-sack` is installed.
mason.nvim [Core utils] ~
- OK unzip: `UnZip 6.00 of 20 April 2009, by Info-ZIP. Maintained by C. Spieler. Send`
- OK wget: `GNU Wget 1.24.5 built on darwin24.0.0.`
- OK curl: `curl 8.7.1 (x86_64-apple-darwin24.0) libcurl/8.7.1 (SecureTransport) LibreSSL/3.3.6 zlib/1.2.12 nghttp2/1.62.0`
- OK gzip: `Apple gzip 448.0.3`
- OK tar: `bsdtar 3.5.3 - libarchive 3.5.3 zlib/1.2.12 liblzma/5.4.3 bz2lib/1.0.8 `
- OK bash: `GNU bash, version 3.2.57(1)-release (arm64-apple-darwin24)`
- OK sh: `Ok`
mason.nvim [Languages] ~
- WARNING Go: not available
- ADVICE:
- spawn: go failed with exit code - and signal -. go is not executable
- WARNING Composer: not available
- ADVICE:
- spawn: composer failed with exit code - and signal -. composer is not executable
- WARNING PHP: not available
- ADVICE:
- spawn: php failed with exit code - and signal -. php is not executable
- WARNING cargo: not available
- ADVICE:
- spawn: cargo failed with exit code - and signal -. cargo is not executable
- WARNING luarocks: not available
- ADVICE:
- spawn: luarocks failed with exit code - and signal -. luarocks is not executable
- OK Ruby: `ruby 2.6.10p210 (2022-04-12 revision 67958) [universal.arm64e-darwin24]`
- OK java: `openjdk version "23.0.1" 2024-10-15`
- WARNING julia: not available
- ADVICE:
- spawn: julia failed with exit code - and signal -. julia is not executable
- OK python: `Python 3.13.0`
- OK node: `v22.4.1`
- OK javac: `javac 23.0.1`
- OK RubyGem: `3.0.3.1`
- OK npm: `10.8.1`
- OK pip: `pip 24.2 from /opt/homebrew/lib/python3.13/site-packages/pip (python 3.13)`
- OK python venv: `Ok`
mason.nvim [GitHub] ~
- OK GitHub API rate limit. Used: 0. Remaining: 5000. Limit: 5000. Reset: Sun Jan 12 17:27:02 2025.
Screenshots or recordings
The text was updated successfully, but these errors were encountered:
Problem description
jdtls is working, but the code diagnostics are broken, it is not highlighted. it stopped to work after update
![image](https://private-user-images.githubusercontent.com/119791265/402358771-1a927cae-f0a8-40a7-9531-995287f7665b.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk1NTY5NTksIm5iZiI6MTczOTU1NjY1OSwicGF0aCI6Ii8xMTk3OTEyNjUvNDAyMzU4NzcxLTFhOTI3Y2FlLWYwYTgtNDBhNy05NTMxLTk5NTI4N2Y3NjY1Yi5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjE0JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIxNFQxODEwNTlaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1jNDBhOTQyNTY5MjUyZDQzZDU1MTMyNDdmMGQwNDQ1YWQ5MmY2YjQ3ZGUzNDc0YzgwNDRjMjBkOWQwZGRiMDYzJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.j75ZSuQx8o1tULIMgGt_JNKKU7kREjd1zucErQD9MJY)
for example, in this screenshot clangd works properly, but jdtls is not****
Why do you think this is an issue with mason-lspconfig.nvim?
before running packersync this didn't happened, after jdtls refused to work, then I changed config, and then jdtls fixed, but it wasn't completely repaired
sorry for my bad english :(
Neovim version (>= 0.7)
NVIM v0.10.3
Build type: Release
LuaJIT 2.1.1734355927
Operating system/version
Darwin a-3.local 24.1.0 Darwin Kernel Version 24.1.0: Thu Oct 10 21:02:45 PDT 2024; root:xnu-11215.41.3~2/RELEASE_ARM64_T8112 arm64
I've manually reviewed the Nvim LPS client log (
:LspLog
) to find potential errorsI've recently downloaded the latest plugin version of mason.nvim, mason-lspconfig.nvim, and nvim-lspconfig
Affected language servers
jdtls
Steps to reproduce
git clone [email protected]:93mmm/.config.git
and copy nvim config to .config dirActual behavior
don't highlights anything, eventually shows package warning
Expected behavior
highlight some errors
LspInfo
LspLog
No response
Healthcheck
Screenshots or recordings
The text was updated successfully, but these errors were encountered: