Hibernate core 5.4.24.FINAL upgrade

Hi

I have recently changed the “Hibernate Core” dependency version from 5.4.18.FINAL to 5.4.24.FINAL.But i am getting " error creating bean with the name entityManagerFactory" error.Can someone help resolve this issue?

-Regards