diff --git a/spring-boot-project/spring-boot-docs/src/docs/asciidoc/configuration-metadata/annotation-processor.adoc b/spring-boot-project/spring-boot-docs/src/docs/asciidoc/configuration-metadata/annotation-processor.adoc
index fdfe8a9092..10a4f955cc 100644
--- a/spring-boot-project/spring-boot-docs/src/docs/asciidoc/configuration-metadata/annotation-processor.adoc
+++ b/spring-boot-project/spring-boot-docs/src/docs/asciidoc/configuration-metadata/annotation-processor.adoc
@@ -59,6 +59,29 @@ You could also let the AspectJ plugin run all the processing and disable annotat
----
====
+[NOTE]
+====
+If you are also using lombok in your project, you need to make sure that the `lombok` dependency is placed before the `spring-boot-configuration-processor` dependency.
+Otherwise, combining `lombok` annotations with `spring-boot-configuration-processor` annotations will not have the desired result.
+
+[source,xml,indent=0,subs="verbatim"]
+----
+
+ org.projectlombok
+ lombok
+ provided
+
+
+ ...............
+
+
+ org.springframework.boot
+ spring-boot-configuration-processor
+ true
+
+----
+====
+
[[appendix.configuration-metadata.annotation-processor.automatic-metadata-generation]]