**[Adam Berlin](https://jira.spring.io/secure/ViewProfile.jspa?name=aberlin@pivotallabs.com)** opened **[SPR-11769](https://jira.spring.io/browse/SPR-11769?redirect=false)** and commented Currently, If I need to use `@ComponentScan` I also need to use `@Configuration`. I should not need to add both. --- **Issue Links:** - #15163 Consider `@Import` classes as lite `@Configuration` - #21739 Revisit `@Bean` introspection between `@Configuration` classes and 'lite' beans **Referenced from:** commits https://github.com/spring-projects/spring-framework/commit/b4d447fc3df8572a7272f5117709d231e8a66fdb 0 votes, 5 watchers
Adam Berlin opened SPR-11769 and commented
Currently, If I need to use
@ComponentScanI also need to use@Configuration. I should not need to add both.Issue Links:
@Importclasses as lite@Configuration@Beanintrospection between@Configurationclasses and 'lite' beansReferenced from: commits b4d447f
0 votes, 5 watchers