In https://github.com/spring-projects/spring-framework/issues/35111 SpringBeanContainer changed location from org.springframework.orm.hibernate5.SpringBeanContainer to org.springframework.orm.jpa.hibernate.SpringBeanContainer

HibernateJpaConfiguration needs to be updated accordingly.

Comment From: wilkinsona

Superseded by #46210.

@lesiak there's no need to open an issue if you intend to open a PR as well.