Following this Data REST tutorial results in an HTTP 405 error for create / POST requests on the resource with Boot 3.0.0 RC1 (of course, jakarta.persistence imports are used instead javax.persistence). Reverting to Boot 2.7.5 and old imports fix the problem.

Comment From: wilkinsona

Thanks for trying RC1. As described in the Spring Data 2022.0 release notes, PagingAndSortingRepository is no longer a CrudRepository so the PersonRepository in the guide is read-only. Changing PersonRepository to also extend CrudRepository<Person, Long> fixes the problem.