-
Notifications
You must be signed in to change notification settings - Fork 8.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
配置aop-patterns之后导致@EnableTransactionManagement的属性proxyTargetClass设置无效 #2330
Comments
@qq592304796 哈喽,我配置了 |
但是设置Spring监控AOP切入点之后 启动程序报错 版本:release-1.1.6 |
哦,知道了,应该和 |
我将proxyTargetClass的默认设置修改为 true 吧,省的你们麻烦,1.1.8版本解决。 |
设置Spring监控AOP切入点
spring.datasource.druid.aop-patterns=xxx
导致@EnableTransactionManagement的属性proxyTargetClass设置无效
Consider injecting the bean as one of its interfaces or forcing the use of CGLib-based proxies by setting proxyTargetClass=true on @EnableAsync and/or @EnableCaching.
必须设置spring.aop.proxy-target-class=true才得以解决这个问题
The text was updated successfully, but these errors were encountered: