Open oliviercailloux opened 3 months ago
This also seems related to why all the GitHub Actions builds are failing -- the build is setup to use java 11 and 17
The problem still exists with 1.5.6. Can you comment on this, if you believe that this is reported erroneously from VSCode?
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.