Demo Project: How @BasePathAwareController Breaks Link Builders
June 5, 2025
1 min read
●
Java Code Geeks

This minimal example shows two controllers in a Spring Data REST app with base path. One using BasePathAwareController link builder misses the base path and the other using RepositoryRest controller link builder works correctly. 1. Setup Spring Boot and Dependencies Add to pom.xml (