diff --git a/spring-boot-project/spring-boot-docs/src/docs/antora/modules/reference/pages/features/aop.adoc b/spring-boot-project/spring-boot-docs/src/docs/antora/modules/reference/pages/features/aop.adoc index 6d5803789f09..a43bb6489847 100644 --- a/spring-boot-project/spring-boot-docs/src/docs/antora/modules/reference/pages/features/aop.adoc +++ b/spring-boot-project/spring-boot-docs/src/docs/antora/modules/reference/pages/features/aop.adoc @@ -5,6 +5,6 @@ Spring Boot provides auto-configuration for aspect-oriented programming (AOP). You can learn more about AOP with Spring in the {url-spring-framework-docs}/core/aop-api.html[Spring Framework reference documentation]. By default, Spring Boot's auto-configuration configures Spring AOP to use CGLib proxies. -To use JDK proxies instead, set `configprop:spring.aop.proxy-target-class` to `false`. +To use JDK proxies instead, set configprop:spring.aop.proxy-target-class[] to `false`. If AspectJ is on the classpath, Spring Boot's auto-configuration will automatically enable AspectJ auto proxy such that `@EnableAspectJAutoProxy` is not required.