diff --git a/src/reference/docbook/beans-classpath-scanning.xml b/src/reference/docbook/beans-classpath-scanning.xml index d57967bce7..6d0a13998f 100644 --- a/src/reference/docbook/beans-classpath-scanning.xml +++ b/src/reference/docbook/beans-classpath-scanning.xml @@ -121,6 +121,13 @@ public class JpaMovieFinder implements MovieFinder { </beans> + + The use of <context:component-scan> implicitly + enables the functionality of <context:annotation-config>. + There is usually no need to include the <context:annotation-config> + element when using <context:component-scan>. + + The scanning of classpath packages requires the presence of corresponding directory entries in the classpath. When you build JARs