79197545

Date: 2024-11-17 15:49:49
Score: 1
Natty:
Report link

In the idea settings, you need to check that the correct Java version is installed everywhere, for example 17:

  1. File - Settings - Build, Execution, Deployment - Compiler - Java Compiler:
    • Project bytecode version : 17
    • Per-module bytecode version : set "Target bytecode version" to 17 for each
  2. File - Project Structure - Modules : set "Language level" to 17 for each
Reasons:
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Valeriy Emelyanov