Esto es para agregar el anotation config y el scan
<context:annotation-config></context:annotation-config> <context:component-scan base-package="$Paquete-nombre$"></context:component-scan>