3
respostas

Ele criou a tabela mas na hora de subir o projeto apresenta esse erro e não sobi mais o projeto.

Ele criou a tabela mas na hora de subir o projeto apresenta esse erro e não sobi mais o projeto.

Error starting ApplicationContext. To display the condition evaluation report re-run your application with 'debug' enabled. 2023-06-30T15:45:24.551-03:00 ERROR 1968 --- [ restartedMain] o.s.boot.SpringApplication : Application run failed

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'flywayInitializer' defined in class path resource [org/springframework/boot/autoconfigure/flyway/FlywayAutoConfiguration$FlywayConfiguration.class]: Validate failed: Migrations have failed validation Detected failed migration to version 1 (create-table-medicos). Please remove any half-completed changes then run repair to fix the schema history.

3 respostas

Está correto https://github.com/Julianamcs/medVoll

To display the condition evaluation report re-run your application with 'debug' enabled. 2023-07-01T02:42:02.478-03:00 ERROR 11628 --- [ restartedMain] o.s.boot.SpringApplication : Application run failed