Closed
Description
DataSourceInitializer init method fails, because it works only if there is just one DataSource bean in the context>
if (this.applicationContext.getBeanNamesForType(DataSource.class, false, false).length > 0) { this.dataSource = this.applicationContext.getBean(DataSource.class); }
Either change condition in if clause to "== 0" or handle org.springframework.beans.factory.NoUniqueBeanDefinitionException prope
Metadata
Metadata
Assignees
Labels
No labels