Unsupported class file major version 64

Hi,

I am using Intelij version 2023.1, subscription plan is RAD, JMIX version 1.5.3 and my SDK is corretto-17.

my problem is when i run my project, i encountered Unsupported class file major version 64.

here is the detail

  • Exception is:
    org.gradle.api.ProjectConfigurationException: A problem occurred configuring root project ‘my-proj’.

Unsupported class file major version 64

A problem occurred configuring root project ‘my-project’.
Could not open cp_proj generic class cache for build file ‘C\user\build.gradle’ (C:\user.gradle\caches\7.6\scripts\814pwvhaiqlgu98ypvbp8g7a2).
BUG! exception in phase ‘semantic analysis’ in source unit ‘BuildScript’ Unsupported class file major version 64

i try to restart IDE several times and it does not work.
please help me and thanks in advanced.

Hello,

Try running the gradle clean command. And also make sure that you use the same version of Java to run the application and in the gradle settings:

Gradle settings:
image

Run/Debug configuration:
image

Regards,
Nikita