Error creating bean with name 'dataSource' defined code example
Example: Error creating bean with name 'dataSource' defined in class path resource
@EnableAutoConfiguration(exclude={DataSourceAutoConfiguration.class})
@EnableAutoConfiguration(exclude={DataSourceAutoConfiguration.class})