-
-
Notifications
You must be signed in to change notification settings - Fork 299
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Packages keep updating but after restart Mason reports new updates to them #1857
Comments
I am also experiencing this exact issue. JDTLS / nvim-java are unable to start until both packages are reinstalled. I'm on an arm64 Mac as well. |
I've been experiencing the very same issue for the last 2 months. Up until now I've been ignoring it because I haven't had much use for anything Java in NVIM. FYI. If I remove JDTLS, Spring-boot-tools, java-test they simply come back on the next restart of NVIM and the loop starts again. |
I've been seeing this issue for a while, and noticed that setting these versions explicitly in the config seem to resolve the problem (but lock in these versions). Here is the relevant section of the config that works for me. However, I would like something like require('java').setup {
root_markers = {
'settings.gradle',
'settings.gradle.kts',
'pom.xml',
'build.gradle',
'mvnw',
'gradlew',
'build.gradle',
'build.gradle.kts',
'.git',
},
jdtls = {
-- version = 'v1.43.0',
language_servers = {
{
name = 'spring-boot-language-server',
command = { 'spring-boot-language-server', '--stdio' },
root_patterns = { 'pom.xml', 'build.gradle' },
filetypes = { 'java' },
},
},
},
lombok = {
-- version = 'nightly',
},
java_test = {
enable = true,
version = '0.43.0',
},
java_debug_adapter = {
enable = true,
-- version = '0.58.1',
},
spring_boot_tools = {
enable = true,
version = '1.59.0',
},
} |
This doesn't seem to work for me, unfortunately. Mason still appears to be finding the old versions as installed. |
I had to do this:
You may also have to do:
Then restart nvim, and let it reinstall everything with Mason / Mason Tools Installer. |
I've searched open issues for similar requests
I've recently downloaded the latest plugin version of mason.nvim
Problem description
Whenever I open neovim and check for updates, I always see that java-test and spring-boot-tools have updates. After they update (no errors reported), I restart neovim and Mason says they’re still outdated on 0.40.1 and 1.55.1, respectively.
Expected behavior
I expected both to be updated to 0.43.0 and 1.59.0
Affected packages
java-test and spring-boot-tools
Mason output
No response
Installation log
Neovim version (>= 0.7)
NVIM v0.10.3
Build type: Release
LuaJIT 2.1.1713484068
Run "nvim -V1 -v" for more info
Operating system/version
Darwin Mac-Mini.localdomain 24.2.0 Darwin Kernel Version 24.2.0: Fri Dec 6 19:04:03 PST 2024; root:xnu-11215.61.5~2/RELEASE_ARM64_T8132 arm64
Healthcheck
Screenshots
Just updated:


After restart:

The text was updated successfully, but these errors were encountered: