ziliang001 / etl-kettle-web

etl, kettle, web, spring, spring boot, mysql, mybatis, oracle, hadoop, hive, hbase:基于web版kettle开发的一套分布式综合调度,管理,ETL开发的用户专业版B/S架构工具,并且升级为springboot(基于https://github.com/JoeyBling/webkettle)
202 stars 75 forks source link

Missing @Component or @Configuration on class #16

Open oneturkmen opened 3 years ago

oneturkmen commented 3 years ago

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

zhujiebing commented 2 years ago

@oneturkmen Please tell me how to solve this problem。https://github.com/ziliang001/etl-kettle-web/issues/18 thanks。 zjb6688859@163.com