Caused by: java.lang.NoClassDefFoundError: [Lorg/hibernate/engine/FilterDefinition;解决方案
程序员文章站
2022-04-12 16:27:53
...
It is a libraries incompatibility problem. Please, add a Hibernate version, pom.xml or a list of jars, a web-cotainer (Tomcat) or an application server, spring configuration files
这是一个库不兼容问题,请检查你的spring配置文件。
例如
<bean id="sessionFactory" class="org.springframework.orm.hibernate3.LocalSessionFactoryBean">
<bean id="transactionManager"
class="org.springframework.orm.hibernate5.HibernateTransactionManager">
推荐阅读
-
java.lang.NoClassDefFoundError: [Lorg/hibernate/engine/FilterDefinition;
-
Caused by: java.lang.NoClassDefFoundError: [Lorg/hibernate/engine/FilterDefinition;解决方案
-
Caused by: java.lang.NoClassDefFoundError: org/hibernate/engine/SessionFactoryImplementor
-
Caused by: java.lang.NoClassDefFoundError: org/hibernate/validator/internal/engine/DefaultParameterN