Pessoal mais alguem está com um erro eterno na etapa de adidionar aos application.propeties as configurações do banco de dados?
Estava tudo funcionando, foi na parte 5 (Interfaces Repository) da Aula 3 (Spring Data JPA). Coloquei exatamente o que o professor fez, tentei inumeras formas aqui e não funciona. To parada nisso, não consigo avançar porque a aplicação não roda...
2023-05-12T14:45:08.356-03:00 INFO 26552 --- [ restartedMain] med.voll.api.ApiApplication : Starting ApiApplication using Java 17.0.7 with PID 26552 (C:\Users\carol\OneDrive\Área de Trabalho\area de trablho\Carol\Cursos Dev\Alura\Spring boot 3\api\target\classes started by carol in C:\Users\carol\OneDrive\Área de Trabalho\area de trablho\Carol\Cursos Dev\Alura\Spring boot 3\api)
2023-05-12T14:45:08.363-03:00 INFO 26552 --- [ restartedMain] med.voll.api.ApiApplication : No active profile set, falling back to 1 default profile: "default"
2023-05-12T14:45:08.533-03:00 INFO 26552 --- [ restartedMain] .e.DevToolsPropertyDefaultsPostProcessor : Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable
2023-05-12T14:45:08.534-03:00 INFO 26552 --- [ restartedMain] .e.DevToolsPropertyDefaultsPostProcessor : For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG'
2023-05-12T14:45:10.393-03:00 INFO 26552 --- [ restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2023-05-12T14:45:10.518-03:00 INFO 26552 --- [ restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 107 ms. Found 1 JPA repository interfaces.
2023-05-12T14:45:12.104-03:00 INFO 26552 --- [ restartedMain] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8080 (http)
2023-05-12T14:45:12.149-03:00 INFO 26552 --- [ restartedMain] o.apache.catalina.core.StandardService : Starting service [Tomcat]
2023-05-12T14:45:12.150-03:00 INFO 26552 --- [ restartedMain] o.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/10.1.8]
2023-05-12T14:45:12.298-03:00 INFO 26552 --- [ restartedMain] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext
2023-05-12T14:45:12.302-03:00 INFO 26552 --- [ restartedMain] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 3763 ms
2023-05-12T14:45:12.523-03:00 WARN 26552 --- [ restartedMain] ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: 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: Failed to determine a suitable driver class
2023-05-12T14:45:12.528-03:00 INFO 26552 --- [ restartedMain] o.apache.catalina.core.StandardService : Stopping service [Tomcat]
2023-05-12T14:45:12.560-03:00 INFO 26552 --- [ restartedMain] .s.b.a.l.ConditionEvaluationReportLogger :
Error starting ApplicationContext. To display the condition evaluation report re-run your application with 'debug' enabled.
2023-05-12T14:45:12.610-03:00 ERROR 26552 --- [ restartedMain] o.s.b.d.LoggingFailureAnalysisReporter :
***************************
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).
Process finished with exit code 0
Não sei o que fazer, alguem que teve o mesmo problema pode me ajudar?