'Eclipse ..... editor could not be initialized

I was making android application project in eclipse.

I can't open java files in eclipse.

java.lang.IncompatibleClassChangeError

editor could not be initialized

what I should do?



Solution 1:[1]

Try to clean up your project in Eclipse: 1. Select your project in Project Explorer window 2. From upper menu select Project -> Clean

Solution 2:[2]

You need to download the latest version of lombok from given link

Step 1: Download https://search.maven.org/remotecontent?filepath=org/projectlombok/lombok/1.18.22/lombok-1.18.22.jar

Step 2: run the below command:

java -jar lombok-1.18.22.jar

Step 3: Specify the Eclipse path in the Installer Dialogue box

Step 4: Restart your IDE

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Victor
Solution 2 Aman Garg