Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Java 11 or Java 21 required? #802

Open
oliviercailloux opened this issue Apr 8, 2024 · 1 comment
Open

Java 11 or Java 21 required? #802

oliviercailloux opened this issue Apr 8, 2024 · 1 comment

Comments

@oliviercailloux
Copy link

When switching my dependency from ch.qos.logback:logback-classic:1.4.14 to (next) version 1.5.0 (or to 1.5.2), vscode tells me: “Incompatible .class files version in required binaries. Project […] is targeting a 17 runtime, but is compiled against '[…]/.m2/repository/ch/qos/logback/logback-core/1.5.0/logback-core-1.5.0.jar' (from the container 'Maven Dependencies') which requires a 21 runtime”.

Indeed, it seems that logback-core is compiled for Java 21.

Is the intent that when depending on logback 1.5.x, I should use Java 21? The doc says otherwise.

@mrdziuban
Copy link

This also seems related to why all the GitHub Actions builds are failing -- the build is setup to use java 11 and 17

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants