Pessoal antes da versão 2 do SpringBoot usava assim a configuração do DataSource no application.properties
# banco de dados mysql
spring.datasource.url=jdbc:mysql://localhost:3306/BD_NAME
spring.datasource.username=root
spring.datasource.password=
Agora o SpringBoot utiliza o HIKARI para fazer o gestão do Poll de conexão com o banco de dados, ficou assim a configuração :
spring.datasource.hikari.jdbc-url=jdbc:mysql://localhost:3306/BD_NAME
spring.datasource.hikari.username=root
spring.datasource.hikari.password=
Acontece que a hora que vou subir o servidor ocorre o seguinte erro:
***************************
APPLICATION FAILED TO START
***************************
Description:
Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could be configured.
Reason: Failed to determine a suitable driver class
Action:
Consider the following:
If you want an embedded database (H2, HSQL or Derby), please put it on the classpath.
If you have database settings to be loaded from a particular profile you may need to activate it (no profiles are currently active).
alguém sabe com tem que configurar o data source para funcionar???