JDK 11 in IDEA 2022.3
已回答
After upgrading to 2022.3, I'm seeing this issue which involves method name conflicts in Scala and JDK 11. However, my JDK and project Java version are set to 8. I've also set the SBT JVM to 8. This issue only occurs in Java 11, so something in IntelliJ must be using 11. The issue does not occur when running sbt outside of IntelliJ. Was there some change in 2022.3 that forces a higher Java version?
请先登录再写评论。
Sounds like
SCL-20798 Scala compilation error in java 8 project (scala 2.11 version) with scala 2022.3.13 plugin
The developer built the nightly version of the Scala plugin where this is fixed. Please try.
That explains it, thank you.