From 798b282e5889a5afcb8c2175b70759899b3fd9e5 Mon Sep 17 00:00:00 2001 From: cdalexndr Date: Tue, 21 Sep 2021 15:51:36 -0700 Subject: [PATCH] Document that devtools restart doesn't work with AspectJ weaving See gh-28071 --- .../spring-boot-docs/src/docs/asciidoc/using-spring-boot.adoc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/spring-boot-project/spring-boot-docs/src/docs/asciidoc/using-spring-boot.adoc b/spring-boot-project/spring-boot-docs/src/docs/asciidoc/using-spring-boot.adoc index b91963aa26..612755a3e1 100644 --- a/spring-boot-project/spring-boot-docs/src/docs/asciidoc/using-spring-boot.adoc +++ b/spring-boot-project/spring-boot-docs/src/docs/asciidoc/using-spring-boot.adoc @@ -612,6 +612,8 @@ NOTE: DevTools needs to customize the `ResourceLoader` used by the `ApplicationC If your application provides one already, it is going to be wrapped. Direct override of the `getResource` method on the `ApplicationContext` is not supported. +CAUTION: Automatic restart is not supported when using AspectJ weaving. + [[using-spring-boot-restart-vs-reload]] .Restart vs Reload ****