springboot:because it is a JDK dynamic proxy that implements:

在启动类,加上:

@EnableTransactionManagement(proxyTargetClass = true)

posted @ 2019-03-16 22:50  阿罗luo  阅读(1791)  评论(0编辑  收藏  举报