ziad
08/02/2017, 10:12 PM@Bean
fun init(dataSource: DataSource)
Intellij complains with a:
"Could not autowire. There is more than one bean of 'DataSource' type"
dataSource (DataSourceConfiguration.class)
dataSource (DataSourceConfiguration.class)
Can someone tell me what I'm doing wrong please? Or explain to me why intellij is complaining? I'm somewhat confused by the duplication. Also curiously this compiles and appears to be working correctly during runtime, intellij bug?