<dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-aop</artifactId>
        </dependency>

xml中  加入上边的依赖。。。

spring: 
  aop: 
    auto: true 

application.yml 中 添加以上。。。

 

代理失效--???  不能使 private 方法--- 坑。。。。

相关文章:

  • 2021-10-01
  • 2022-12-23
  • 2022-12-23
  • 2022-01-18
  • 2021-05-05
  • 2021-04-27
  • 2021-04-16
  • 2021-07-24
猜你喜欢
  • 2022-12-23
  • 2021-11-26
  • 2022-12-23
  • 2022-12-23
  • 2021-11-22
  • 2021-09-19
  • 2021-10-20
相关资源
相似解决方案