spring整合shiro,项目报如下错误: ==============异常开始============= java.lang.IllegalStateException: The mapped controller method class 'com.agen.controller.CorlibController' is not an instance of the actual controller bean instance 'com.sun.proxy.$Proxy45'. If t
在springMVC类上绑定@Transactional的注解,但是访问数据库时,总是报 can't localtion to current JTA Transactional. 后来发现springMVC和spring的注解扫描不能有重叠, @Scope("singleton") @Controller @RequestMapping("/shouxun") @Transactional public class ShouXunInterface { priva