JDK invalid target release

Suppose we just run into this error: And you use IntelliJ IDEA. The thing is that you need to double check at least four places that you have chosen the proper JDK version. Step #1 First things first, make sure that you have JDK 21 selected under File -> Project Settings -> Project -> SDK: […]