-
Notifications
You must be signed in to change notification settings - Fork 54k
Open
Labels
triagedIssues reviewed by a dev and considered valid. Will be added in Jira.Issues reviewed by a dev and considered valid. Will be added in Jira.
Description
Article and Module Links
spring-security-oauth2-bff
Describe the Issue
spring-security-oauth2-bff/backend fails to compile.
[ERROR] tutorials/spring-security-modules/spring-security-oauth2-bff/backend/bff/src/main/java/com/baeldung/bff/LoginOptionsController.java:[53,19] records are not supported in -source 8 (use -source 16 or higher to enable records)
To Reproduce
Follow the instructions listed here: https://www.baeldung.com/spring-cloud-gateway-bff-oauth2
git clone https://github.com/eugenp/tutorials.git
cd tutorials/spring-security-modules/spring-security-oauth2-bff/
sh ./build.sh
or the more self contained version:
git clone https://github.com/eugenp/tutorials.git
cd tutorials/spring-security-modules/spring-security-oauth2-bff/backend
mvn install
Expected Behavior
Module compiles correctly
Screenshots
Environment (please complete the following information):
- Ubuntu 24 WSL on Windows 10: [e.g. Windows]
Additional Context
Add any other context about the issue here.
Metadata
Metadata
Assignees
Labels
triagedIssues reviewed by a dev and considered valid. Will be added in Jira.Issues reviewed by a dev and considered valid. Will be added in Jira.