After upgrading to spring-boot 2.2.6 : PagingAndSortingRepository classes annotated with @RepositoryRestResource started randomly to return 404 errors... Rollbacking to version 2.2.5 solved the problem.

I have found on stackoverflow other people who encountererd the same issue : https://stackoverflow.com/questions/61262802/repositoryrestresource-resources-started-returning-404-errors-after-running-for

Comment From: philwebb

I think the root cause of this is DATAREST-1502 but @mp911de can probably confirm. Can you please try the latest Spring Boot SNAPSHOT and let us know if it's fixed?

Comment From: mp911de

Confirming that the issue is addressed with DATAREST-1502.