79735342

Date: 2025-08-14 11:38:59
Score: 1.5
Natty:
Report link

Can you please check the version of spring boot you are currently using.
registerLazyIfNotAlreadyRegistered occurs in spring boot 3.3+ while you might have some was introduced in Spring Boot 3.2+.
If you have mixed versions — for example, Spring Boot 3.3.x pulling in Spring Data JPA 3.3.x but another library in your project bringing an older Spring Data JPA (like 3.1.x or 2.x)

try running
mvn dependency:tree | grep spring-data-jpa
mvn dependency:tree | grep spring-data-commons

if u see 2 versions of jpa , then remove the older version
mvn dependency:tree -Dverbose | grep "spring-data-jpa"

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Starts with a question (0.5): Can you please
  • Low reputation (1):
Posted by: Neha