Spring Boot 2.0 Projects
上QQ阅读APP看书,第一时间看更新

Using the changed default proxying strategy 

Spring Boot 2.0 uses CGLIB as the default proxying strategy including for aspect-oriented programming (AOP). If proxy based proxying is required, the following configuration property needs to be set:

spring.aop.proxy-target-class=false.