1
resposta

[Dúvida] estou com duvida sobre um erro de java spring boot

Ele esta dando esse erro: Error starting ApplicationContext. To display the condition evaluation report re-run your application with 'debug' enabled. 2024-12-27T16:41:48.245-03:00 ERROR 5528 --- [api] [ restartedMain] o.s.boot.SpringApplication : Application run failed

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in class path resource [org/springframework/boot/autoconfigure/orm/jpa/HibernateJpaConfiguration.class]: Failed to initialize dependency 'flywayInitializer' of LoadTimeWeaverAware bean 'entityManagerFactory': 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 Migration checksum mismatch for migration version 1

1 resposta

Oi!

Deu erro em alguma migration e você precisa seguir o indicado nessa atividade para resolver: https://cursos.alura.com.br/course/spring-boot-3-desenvolva-api-rest-java/task/121056