关于SSM框架的事务 org.springframework.beans.factory.BeanNotOfRequiredTypeException

在业务层.xml中添加

<aop:config proxy-target-class="true"/>

在业务层的接口中添加

@Transactional注解

整个接口都会被事务所管理。

完美解决

猜你喜欢

转载自blog.csdn.net/cmj962464/article/details/81453951