指定使用 CGLIB 而不使用 JDK 生成代理对象:
注意:此两个标签必须同时出现,不然会报:Cannot locate BeanDefinitionParser for element [scoped-proxy]
<!-- 指定使用 CGLIB 生成代理对象 -->
<aop:aspectj-autoproxy proxy-target-class="true" />
<aop:config proxy-target-class="true" />

 

相关文章:

  • 2022-12-23
  • 2019-01-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-07-31
  • 2021-05-12
  • 2021-05-07
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-05-30
  • 2022-12-23
  • 2021-06-12
  • 2022-12-23
  • 2021-06-04
相关资源
相似解决方案