-
|
I believe I am having issues with self-signed certificates in the certificate chain when using nvim-java. I am getting the following error when opening java files. I believe this to be a configuration issue and not a bug related issue so I thought it would be best to ask here LSP[spring-boot] Failed to fetch Generation from Spring IO: I/O error on GET request for "https://api.spring.io/projects": (certificate_unknown) PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
I have added my certificate bundle to my java installation keystore and I also tried adding it to the java version that the plugin downloads but I still get the error when opening files this is the configuration I am using. {
'nvim-java/nvim-java',
config = function()
require('java').setup {}
vim.lsp.config('jdtls', {
settings = {
java = {
configuration = {
runtimes = {
{
name = 'Java-25',
path = 'c:/Program Files/Microsoft/jdk-25.0.2.10-hotspot',
default = true,
},
},
},
},
},
})
vim.lsp.enable 'jdtls'
end,
},
|
Beta Was this translation helpful? Give feedback.
-
|
LSP[spring-boot] maybe you'll have a better luck in spring-boot.nvim's repository. |
Beta Was this translation helpful? Give feedback.
LSP[spring-boot] maybe you'll have a better luck in spring-boot.nvim's repository.