Closed Naadiyaar closed 2 weeks ago
Sounds like the maven configuration doesn't define the language level, or you're missing the runtime
entry for the particular java version that's in use in the project.
The reproduction steps don't reproduce
right, sorry for wrong issue. adding source and target to POM fixed it.
<properties>
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
</properties>
LSP client configuration
Eclipse.jdt.ls version
master
Steps to Reproduce
open java file type
var
following with name and value to be assignedExpected Result
declare a new variable
Actual Result
LSP complains with error var cannot be resolve to a type
Worth adding this isn't an issue in gradle projects but all maven projects have this problem.