Java version upgrade

ERROR org-apache.maven.cli.MavenCli - Failed to execute goal org.springframework.boot: spring-boot-maven-plugin: 3.2.2:build-inff (default) on project crew-planning-service: Execution default of goal org.springframework.boot:spring-boot-maven-plugin:3.2.2:build-info failed: Unable to load the mojo ‘build-info’ in the plugin ‘org.springframework.boot: spring-boot-maven-plugin:3.2.2’ due to an API incompatibility: org. codehaus.plexus.component.repository.exception.ComponentLookupException:
org/springframework/boot/maven/BuildInfoMojo has been compiled by a more recent version of the Java Runtime (class file version 61.0), this version of the Java Runtime only recognizes class file versions up to 52.0

org.springframework.boot
spring-boot-maven-plugin



repackage


CLASSIC



You need to upgrade your Java version. Rather than post an error message please detail what is you are doing and what the problem is.