Open oneturkmen opened 3 years ago
The following class uses @Bean on a field, but is missing @Component or @Configuration annotation on the class.
@Bean
@Component
@Configuration
https://github.com/ziliang001/etl-kettle-web/blob/c9814c37d0f2fb079342fbcc9a081259764a2b4b/etl-kettle-admin/src/main/java/com/caixin/data/middle/etl/kettle/admin/config/DynamicDataSourceConfig.java#L17
Reference: https://docs.spring.io/spring-framework/docs/current/javadoc-api/org/springframework/context/annotation/Bean.html
@oneturkmen Please tell me how to solve this problem。https://github.com/ziliang001/etl-kettle-web/issues/18 thanks。 zjb6688859@163.com
The following class uses
@Bean
on a field, but is missing@Component
or@Configuration
annotation on the class.https://github.com/ziliang001/etl-kettle-web/blob/c9814c37d0f2fb079342fbcc9a081259764a2b4b/etl-kettle-admin/src/main/java/com/caixin/data/middle/etl/kettle/admin/config/DynamicDataSourceConfig.java#L17
Reference: https://docs.spring.io/spring-framework/docs/current/javadoc-api/org/springframework/context/annotation/Bean.html