You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I use the packagesToScan property of AnnotationSessionFactoryBean, classes are scanned for annotations, but the package itself is not scanned (i.e. package-info.java file is not considered).
I guess it would be better to include the package-info.java file too as the "packagesToScan" name really makes one think that it will scan the packages as a whole.
Note also the contrast with the "annotatedPackages" and "annotatedClasses" name, where it's clear that one will only scan the package annotations and the other only the package classes annotation.