Solucionado (ver solução)
Solucionado
(ver solução)
1
resposta

[Bug] Está dando erro com a url do mysql - BEAN CREATION EXCEPTION

Caso usem a url sem a porta de conexao esta apresentando erro de conexão.

Error starting ApplicationContext. To display the condition evaluation report re-run your application with 'debug' enabled. 2023-06-11T12:56:36.134-03:00 ERROR 59004 --- [ restartedMain] o.s.boot.SpringApplication : Application run failed

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'flyway' defined in class path resource [org/springframework/boot/autoconfigure/flyway/FlywayAutoConfiguration$FlywayConfiguration.class]: Failed to instantiate [org.flywaydb.core.Flyway]: Factory method 'flyway' threw exception with message: Error creating bean with name 'dataSource' defined in class path resource [org/springframework/boot/autoconfigure/jdbc/DataSourceConfiguration$Hikari.class]: Failed to instantiate [com.zaxxer.hikari.HikariDataSource]: Factory method 'dataSource' threw exception with message: URL must start with 'jdbc' at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:659) ~[spring-beans-6.0.9.jar:6.0.9]

spring.datasource.url=jbdc:mysql://localhost/vollmed_api
spring.datasource.username=root
spring.datasource.password=root

PARA CORRIGIR, adicionem a porta 3306 (default)

spring.datasource.url=jdbc:mysql://localhost:3306/vollmed_api
spring.datasource.username=root
spring.datasource.password=root
1 resposta
solução!

Obrigado, já adicionei a transcrição!