IntelliJ idea error: e rror:java : invalid source distribution: 11 problem resolution

File>Project Structure>Select the current Modules>Change Langauge level

Read More: