sys-error.log 4.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. 2024-10-30 11:56:46 [main] ERROR o.s.boot.SpringApplication - Application run failed
  2. org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'flywayInitializer' defined in class path resource [org/springframework/boot/autoconfigure/flyway/FlywayAutoConfiguration$FlywayConfiguration.class]: Invocation of init method failed; nested exception is org.flywaydb.core.api.exception.FlywayValidateException: Validate failed: Migrations have failed validation
  3. Migration checksum mismatch for migration version 1
  4. -> Applied to database : 924581919
  5. -> Resolved locally : 1551578977. Either revert the changes to the migration, or run repair to update the schema history.
  6. Migration description mismatch for migration version 2
  7. -> Applied to database : init 20240830
  8. -> Resolved locally : init 20240830. Either revert the changes to the migration, or run repair to update the schema history.
  9. Need more flexibility with validation rules? Learn more: https://rd.gt/3AbJUZE
  10. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1804)
  11. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:620)
  12. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542)
  13. at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335)
  14. at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
  15. at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333)
  16. at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208)
  17. at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:322)
  18. at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208)
  19. at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:953)
  20. at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:918)
  21. at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:583)
  22. at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:145)
  23. at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:765)
  24. at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:445)
  25. at org.springframework.boot.SpringApplication.run(SpringApplication.java:338)
  26. at org.springframework.boot.SpringApplication.run(SpringApplication.java:1354)
  27. at org.springframework.boot.SpringApplication.run(SpringApplication.java:1343)
  28. at com.nb.admin.AdminApplication.main(AdminApplication.java:46)
  29. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  30. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  31. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  32. at java.lang.reflect.Method.invoke(Method.java:498)
  33. at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:49)
  34. at org.springframework.boot.loader.Launcher.launch(Launcher.java:108)
  35. at org.springframework.boot.loader.Launcher.launch(Launcher.java:58)
  36. at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:88)
  37. Caused by: org.flywaydb.core.api.exception.FlywayValidateException: Validate failed: Migrations have failed validation
  38. Migration checksum mismatch for migration version 1
  39. -> Applied to database : 924581919
  40. -> Resolved locally : 1551578977. Either revert the changes to the migration, or run repair to update the schema history.
  41. Migration description mismatch for migration version 2
  42. -> Applied to database : init 20240830
  43. -> Resolved locally : init 20240830. Either revert the changes to the migration, or run repair to update the schema history.
  44. Need more flexibility with validation rules? Learn more: https://rd.gt/3AbJUZE
  45. at org.flywaydb.core.Flyway$1.execute(Flyway.java:177)
  46. at org.flywaydb.core.Flyway$1.execute(Flyway.java:170)
  47. at org.flywaydb.core.Flyway.execute(Flyway.java:586)
  48. at org.flywaydb.core.Flyway.migrate(Flyway.java:170)
  49. at org.springframework.boot.autoconfigure.flyway.FlywayMigrationInitializer.afterPropertiesSet(FlywayMigrationInitializer.java:66)
  50. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1863)
  51. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1800)
  52. ... 26 common frames omitted