Skip to content

SpringBootConfiguration is retrieved via classpath scanning but does not indicate it should be indexed #26308

@snicoll

Description

@snicoll

The test infrastructure looks for @SpringBootConfiguration annotated types via AnnotatedClassFinder that uses ClassPathScanningCandidateComponentProvider internally.

But the annotation does not declare it is a target for classpath scanning and therefore the entry is not found when the components index is in place.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions