Error starting ApplicationContext. To display the auto-configuration report re-run your application with 'debug' enabled.
2016-11-19 12:29:04.581 ERROR 9464 --- [ main] o.s.b.d.LoggingFailureAnalysisReporter :
***************************
APPLICATION FAILED TO START
***************************
Description:
Cannot determine embedded database driver class for database type NONE
- In pom.xml: add yaur database dependencies. (HSQL db for the testing purpose can resolve yaur issue)
- Disable the datasource auto-configation: If you prefer to configure it yaurself . Add this line in yaur spring bootstrap class:
@EnableAutoConfiguration(exclude = {DataSourceAutoConfiguration.class,
DataSourceTransactionManagerAutoConfiguration.class,
HibernateJpaAutoConfiguration.class})
You have however to configure yaur @Primary datasource in case of multi-datasources case.
- Missing configuration somehow
- @Primary keyword missing often for specific bean where autoconfiguration is enabled.