Olá Ao realizar as alterações do arquivo de configuração do banco de dados que o projeto fornecedor utiliza, da minha máquina local, para o git, está ocorrendo o seguinte problema:
***************************
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
Segue abaixo as minhas configurações:
application.yml fornecedor:
server:
port: 8081
eureka:
client:
registry-with-eureka: true
fetch-registry: true
service-url:
defaultZone: http://localhost:8761/eureka
bootstrap.yml fornecedor;
spring:
application:
name: 'fornecedor'
profiles:
active: default
cloud:
config:
uri: http://localhost:8888
application.yml config-server:
server:
port: 8888
spring:
cloud:
config:
server:
git:
uri: https://github.com/raphapfeifer/microsservices-repo
search-paths: fornecedor
arquivo do git fornecedor.yml:
spring:
datasource:
url: jdbc:mysql://localhost:3306/fornecedor
password: 1234
username: root
jpa:
hibernate:
ddl-auto: validate