Answer the question
In order to leave comments, you need to log in
What is wrong with my spring + hibernate configuration?
Good afternoon, I am getting acquainted with spring + hibernate bundle. Spring starts and processes requests normally, but as soon as I add configurations for hibernate, I get an error:
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.context.event.internalEventListenerProcessor': Initialization of bean failed; nested exception is java.lang.NoClassDefFoundError: org/springframework/core/MethodClassKey
Answer the question
In order to leave comments, you need to log in
Something tells me that you have problems with dependencies (different versions of the components of the same framework). Either bring the dependency versions back to normal, or use Spring BOM or Spring Boot.
Plus, you import the namespace tx version 3.0, when the rest of the versions are 4.3, which is not critical, but also ugly.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question