java.lang.ClassCastException:org.springframework.orm.hibernate5.SessionHolder cannot be cast to org.springframework.orm.hibernate3.SessionHolder
原因:AbstractBaseDaoImpl类中
import org.springframework.orm.hibernate3.support.HibernateDaoSupport;
***注意导包的时候3~5的区别
hibernate5与hibernate3在spring整合时注意版本
猜你喜欢
转载自blog.csdn.net/weixin_44142296/article/details/85054687
今日推荐
周排行