Filter execution threw an exception 错误

Filter execution threw an exception 错误,我在web.xml中配置了一个filter用spring来解决懒加载的问题,为何就会包这个错java

java.lang.NoSuchMethodError: org.hibernate.SessionFactory.openSession()Lorg/hibernate/classic/Session;web

  <filter>
    <filter-name>OpenSessionInViewFilter</filter-name>
    <filter-class>com.jbit.auction.tool.OpenSessionInViewFilter</filter-class>
</filter>
<filter-mapping>
    <filter-name>OpenSessionInViewFilter</filter-name>
    <url-pattern>*.action</url-pattern>
</filter-mapping>spring

 

相关文章
相关标签/搜索