Dependency Injection not working in V24

I’ve a 3rd party library which allows me to query DB along with Spring JPA but the same stopped working in V24. What could be the reason?

Just a wild guess: the library uses javax.persistence packages instead of jakarta.persistence

possibly. Your wild guess may be correct