UnsupportedClassVersionError How to update compiler in eclipse?

53 views Asked by At

I have a project in spring boot (maven) that tries to start, but gives me a version error

Console:

Error: LinkageError occurred while loading main class com.demoJwt.DemoJwtApplication java.lang.UnsupportedClassVersionError: com/demoJwt/DemoJwtApplication (class file version 59.65535) was compiled with preview features that are unsupported. This version of the Java Runtime only recognizes preview features for class file version 64.65535

Java Build Path

Java Compiler (I can't find anything more current than version 15)

I want to update the Java Compiler version to version 20 to avoid the error when starting the maven project.

0

There are 0 answers