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

在启动类,加上:

@EnableTransactionManagement(proxyTargetClass = true)

原文地址:https://www.cnblogs.com/luoa/p/10544810.html