Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pin Spring Boot to v2.7.7 #83

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

daramaguire
Copy link

What?

Specify the version (2.77) of Spring Boot to use.

Why?

When unspecified (e.g. as was the spring-maven-plugin dependency) it uses the latest version, which is 3. Version 3 is compiled with Java 17 and spring-maven-plugin throws this error when building with Maven in Java 11:

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

This is an interim change before upgrading the assessment to Java 17.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant