org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session f
报错原因:web.xml中加入了以下代码: <!--事物开启到视图层 --><filter> <filter-name>SpringOpenSessionInViewFilter</filter-name> <filter-class>org.springframework.orm.hibernate5.support.OpenSessionInViewFilter</filter-class&...
原创
2021-07-30 16:23:18 ·
612 阅读 ·
0 评论