AnnotationSessionFactoryBean packagesToScan in a OSGi environment [SPR-6042] #10711
Labels
in: core
Issues in core modules (aop, beans, core, context, expression)
status: duplicate
A duplicate of another issue
Nicolas Cornaglia opened SPR-6042 and commented
The code
in the AnnotationSessionFactoryBean.scanPackages() method resolves the pattern to scan to classpath:com/mycompany**/.class for a packagesToScan="com/mycompany", but it fails to get the resources. I think a slash is missing to obtain classpath:com/mycompany//.class**, like the one in ClassPathScanningCandidateComponentProvider.findCandidateComponents():
or at least a setResourcePattern() like ClassPathScanningCandidateComponentProvider.
Affects: 2.5.6
Issue Links:
The text was updated successfully, but these errors were encountered: