728x90

In this case, Project gradle version would not matched correctly for Java project version.

 

Check Below Process

1.  File - Settings - Build, Execution, Deployment 

Change Build and run using Gradle to intelliJ IDEA

 

But it is not important things that Gradle will change java version correctly for project settings.

 

 

If project used to take in version like 11, change Gradle JVM version to 11.

 

2. File - Project Settings

Change project SDK version correctly for java project. In this case, need to change corretto-19 to 11. 

 

3. Change Active profile 

 

Go Edit  - change active profile what you want to change

+ Recent posts