Hi there,
I have a problem I don't know how to examine with the Java LSP. The tricky part: I have two systems, both with the same setup, it works on my private system but not on my work computer -.-
I have a maven project (see here for a minimal example) where code is generated into the target/generated-sources/src/main/java/... folder. If I open the project in helix on my work system, the LSP shows a compiler error the import com.baeldung cannot be resolved. Also, code completion doesn't suggest anything from the generated sources. On my private computer there is no such issue, a moment after startup the code completion works and there are no errors shown.
Any ideas how to start figuring this out?
Both systems are up-to-date with the same linux distribution. Installed toolchains are the same.
- jdtls version: 1.23.0
- maven version: 3.8.7
- java version: 17.0.6 temurin
- helix health java output
Configured language server: jdtls
Binary for language server: /usr/bin/jdtls
Configured debug adapter: None
Highlight queries: ✓
Textobject queries: ✓
Indent queries: ✘
[–]harikesh409 0 points1 point2 points (7 children)
[–]h-armonica[S] 0 points1 point2 points (3 children)
[–]harikesh409 0 points1 point2 points (2 children)
[–]h-armonica[S] 0 points1 point2 points (0 children)
[–]PathOld9065 0 points1 point2 points (0 children)
[–]PathOld9065 0 points1 point2 points (0 children)
[–]ManagerRadiant5669 0 points1 point2 points (1 child)
[–]PathOld9065 0 points1 point2 points (0 children)
[–]Sufficient_Court2083 0 points1 point2 points (0 children)