You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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”.
When switching my dependency from
ch.qos.logback:logback-classic:1.4.14
to (next) version1.5.0
(or to1.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.
The text was updated successfully, but these errors were encountered: