1. The Exception

When we use springboot ,sometimes we get this exception :

Caused by: org.springframework.boot.autoconfigure.jdbc.DataSourceProperties$DataSourceBeanCreationException: Cannot determine embedded database driver class for database type NONE. If you want an embedded database please put a supported one on the classpath. If you have database settings to be loaded from a particular profile you may need to active it (no profiles are currently active).

2. Environments

  • JDK 1.8
  • Springboot 1.5.9.RELEASE

3. The application.properties


4. Solve the problem


Now the problem solved. Hope it helps for you.