Unable to migrate to 1.4.2

Hi,

i had update from 1.1.4 jmix version to 1.4.2 but i am getting below error i had update my jdk to 11

import io.jmix.core.DataManager;
                   ^
  bad class file: /home/adnan/.gradle/caches/modules-2/files-2.1/io.jmix.core/jmix-core/1.4.2/2690d4360b44a3a2657fa58fd13320bee71373ec/jmix-core-1.4.2.jar(io/jmix/core/DataManager.class)
    class file has wrong version 55.0, should be 52.0
> below step followed to update JDK
> 
> Select "File" -> "Project Structure".
> Under "Project Settings" select "Project"
> 
> and also updated from file > java compiler > project bytecode version = 11

jdk

Hi!
Try clearing the Idea cache
image

hi
Already tried invalidate caches still got same error

Make sure you have the correct JDK in Gradle settings:

image

You can open this dialog from Gradle tool window → wrench icon → Gradle Settings.

1 Like

thank you for solution