Eclipse Maven build, recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0`

Error at Eclipse build, "... recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0`"

Solution:

Find your .m2 repository dir, in my Linux debian 10 is at ~/.m2

$ find . -name "<your-project-org.xxx.xxx.projectname>"
$ rm -f org/<your-project-org.xxx.xxx.projectname> <-- usually under the name of your project

at the command line of the project, 

$ mvn clean
$ mvn install -DskipTests=true

Reopen eclipse, reference here

select Porject -> Maven -> Update

Have fun ^^

Comments