Hibernate: No Session found for current thread

在Struts2+Hibernate+Srping项目中经常会遇到这种问题

我知道的一种情况是:

Spring的事务配置中没有配置好异常出现处的路径

 <aop:advisor pointcut="execution(* com.bjsxt.env.*.*(..))"
                     advice-ref="txAdvice"/>
原文地址:https://www.cnblogs.com/haitao-fan/p/3645290.html