SpringBoot整合Shiro 'ProxyTransactionManagementConfiguration': BeanPostProcessor before instantiation
SpringBoot使用@EnableTransactionManagement开启事务再整合Shiro时,如果在AuthorizingRealm中注入了Service。代码如下:
// SpringBoot启动类
@SpringBootApplication
@EnableTransactionManagement
@MapperScan("com.boge.mapper")
public ...
原创
2020-04-16 11:59:10 ·
2380 阅读 ·
0 评论