In a project using Maven, with a file structure of classes being in src/main/java, open a file in any package
Expected Result
The laguange server recognizes correctly the package the current class is in, and imports can be resolved
Actual Result
The language server won't recongnize the package the current class is in, also doesn't recongizes any imports
eg:
The declared package 'com.util' does not match the expected package 'main.java.com.util
LSP client configuration
local java = { 'mfussenegger/nvim-jdtls', config = function() local jdtls = require('jdtls')
end }
return { java }
Eclipse.jdt.ls version
latest, i can't find it
Steps to Reproduce
In a project using Maven, with a file structure of classes being in src/main/java, open a file in any package
Expected Result
The laguange server recognizes correctly the package the current class is in, and imports can be resolved
Actual Result
The language server won't recongnize the package the current class is in, also doesn't recongizes any imports eg:
The declared package 'com.util' does not match the expected package 'main.java.com.util