diff --git a/spring-framework-reference/src/beans.xml b/spring-framework-reference/src/beans.xml index dfbd1074cb..2f175e7a34 100644 --- a/spring-framework-reference/src/beans.xml +++ b/spring-framework-reference/src/beans.xml @@ -6681,7 +6681,7 @@ public class AppConfig { -
+
Further information about how Java-based configuration works internally The following example shows a @Bean annotated method being called twice: @@ -6727,7 +6727,12 @@ public class AppConfig { - There are a few restrictions due to the use of CGLIB to dynamically add features startup-time: + Beware that, in order for JavaConfig to work, you must include the CGLIB jar in your list of dependencies. + + + + + There are a few restrictions due to the fact that CGLIB dynamically adds features at startup-time: Configuration classes should not be final