mfussenegger / nvim-jdtls

Extensions for the built-in LSP support in Neovim for eclipse.jdt.ls
GNU General Public License v3.0
1k stars 62 forks source link

Unable to build #543

Closed arbitrary-dev closed 11 months ago

arbitrary-dev commented 11 months ago

LSP client configuration

No response

Eclipse.jdt.ls version

1.26.0

Steps to Reproduce

$ java --version
openjdk 11.0.18 2023-01-17
OpenJDK Runtime Environment 11.0.18_p10 (build 11.0.18+10)
OpenJDK 64-Bit Server VM 11.0.18_p10 (build 11.0.18+10, mixed mode, sharing)
$ export JAVA_HOME=/usr/lib64/openjdk-11
$ ./mvnw clean verify -DskipTests=true

Expected Result

Server compiles successfully and there is a binary I can use.

Actual Result

log.txt

[WARNING] Error injecting: org.eclipse.tycho.p2maven.repository.EclipseTargetDefinitionArtifactHandler
java.lang.TypeNotPresentException: Type org.eclipse.tycho.p2maven.repository.EclipseTargetDefinitionArtifactHandler not present
...
Caused by: java.lang.UnsupportedClassVersionError: org/eclipse/tycho/p2maven/repository/EclipseTargetDefinitionArtifactHandler has been compiled by a more recent version of the Java Runtime (class file version 61.0), this version of the Java Runtime only recognizes class file versions up to 55.0
...
arbitrary-dev commented 11 months ago

Wrong repo, sorry...