keycloak / keycloak-quickstarts

Apache License 2.0
1.98k stars 984 forks source link

Set springboot pom version #379

Closed ikhomyn closed 1 year ago

ikhomyn commented 1 year ago

The issue was that in the pom wasn't indicated the springboot plugin version. As results the most recent version was taken from https://mvnrepository.com/artifact/org.springframework.boot/spring-boot-maven-plugin. Recent update was 23 of February.

Using latest version was causing this error: [ERROR] Failed to execute goal org.springframework.boot:spring-boot-maven-plugin:3.0.3:run (default-cli) on project service-springboot: Execution default-cli of goal org.springframework.boot:spring-boot-maven-plugin:3.0.3:run failed: Unable to load the mojo 'run' in the plugin 'org.springframework.boot:spring-boot-maven-plugin:3.0.3' due to an API incompatibility: org.codehaus.plexus.component.repository.exception.ComponentLookupException: org/springframework/boot/maven/RunMojo 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 55.0

Closes: https://github.com/keycloak/keycloak-quickstarts/issues/378

ikhomyn commented 1 year ago

Quickstart tests failed due this issue. This PR should pass once it is fixed

vmuzikar commented 1 year ago

This was part of https://github.com/keycloak/keycloak-quickstarts/pull/386