Skip to content
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

bug: Unable to install with nvchad. Cannot find package "lombok-nightly" #349

Open
3 tasks done
fayimora opened this issue Feb 9, 2025 · 3 comments
Open
3 tasks done
Labels
bug Something isn't working

Comments

@fayimora
Copy link

fayimora commented Feb 9, 2025

Did you check docs and existing issues?

  • I have read all the plugin docs
  • I have searched the existing issues
  • I have searched the existing issues of plugins related to this issue

Neovim version (nvim -v)

v0.10.4

Operating system/version

MacOS 15.0.1

Describe the bug

Not sure if this is a bug or just missing something in configuration. I am using NvChad as my base setup. I followed the instructions and always end up with this error:

   Error  01:49:24 notify.error Java Failed to setup nvim-java ...l/share/nvim/lazy/mason.nvim/lua/mason-registry/init.lua:80: Cannot find package "lombok-nightly"

Essentially, jdtls does not get installed but it seems that's because lombok-nightly fails for reasons I cannot figure out.

Steps To Reproduce

Add the plugin to plugins.lua file

{'nvim-java/nvim-java'}

At the top of the lsp config, add:

require("java").setup()

add jdtls to the ensure_installed for mason. (tried without doing this too)

Close and open java project in vim.

Image

Expected Behavior

Everything downloaded and installed.

@fayimora fayimora added the bug Something isn't working label Feb 9, 2025
@YSNBx
Copy link

YSNBx commented Feb 10, 2025

Any workarounds? Getting the same issue and I haven't managed to circumvent this issue.

@esac886
Copy link

esac886 commented Feb 10, 2025

mason tells you that it failed to download jdtls tarball from eclipse of. downloads portal. maybe it causes problems with lombok

i have the same issue with jdtls

@fayimora
Copy link
Author

mason tells you that it failed to download jdtls tarball from eclipse of. downloads portal. maybe it causes problems with lombok

i have the same issue with jdtls

Yeah I'm able to download and setup jdtls without nvim-java which led me to believe something else is going on. I haven't looked at the plugin's code yet.

How i tested jdtls on it's own:
Add jdtls to the ensure_installed for mason. and then set up the lsp config:

lspconfig["jdtls"].setup {
    on_attach = on_attach,
    capabilities = capabilities,
  }

That works fine but when i remove it and allow nvim-java to set everything up, I get the above errors.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants