| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- 2024-10-30 11:56:46 [main] ERROR 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]: Invocation of init method failed; nested exception is org.flywaydb.core.api.exception.FlywayValidateException: Validate failed: Migrations have failed validation
- Migration checksum mismatch for migration version 1
- -> Applied to database : 924581919
- -> Resolved locally : 1551578977. Either revert the changes to the migration, or run repair to update the schema history.
- Migration description mismatch for migration version 2
- -> Applied to database : init 20240830
- -> Resolved locally : init 20240830. Either revert the changes to the migration, or run repair to update the schema history.
- Need more flexibility with validation rules? Learn more: https://rd.gt/3AbJUZE
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1804)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:620)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542)
- at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335)
- at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
- at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333)
- at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208)
- at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:322)
- at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208)
- at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:953)
- at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:918)
- at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:583)
- at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:145)
- at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:765)
- at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:445)
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:338)
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:1354)
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:1343)
- at com.nb.admin.AdminApplication.main(AdminApplication.java:46)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:49)
- at org.springframework.boot.loader.Launcher.launch(Launcher.java:108)
- at org.springframework.boot.loader.Launcher.launch(Launcher.java:58)
- at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:88)
- Caused by: org.flywaydb.core.api.exception.FlywayValidateException: Validate failed: Migrations have failed validation
- Migration checksum mismatch for migration version 1
- -> Applied to database : 924581919
- -> Resolved locally : 1551578977. Either revert the changes to the migration, or run repair to update the schema history.
- Migration description mismatch for migration version 2
- -> Applied to database : init 20240830
- -> Resolved locally : init 20240830. Either revert the changes to the migration, or run repair to update the schema history.
- Need more flexibility with validation rules? Learn more: https://rd.gt/3AbJUZE
- at org.flywaydb.core.Flyway$1.execute(Flyway.java:177)
- at org.flywaydb.core.Flyway$1.execute(Flyway.java:170)
- at org.flywaydb.core.Flyway.execute(Flyway.java:586)
- at org.flywaydb.core.Flyway.migrate(Flyway.java:170)
- at org.springframework.boot.autoconfigure.flyway.FlywayMigrationInitializer.afterPropertiesSet(FlywayMigrationInitializer.java:66)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1863)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1800)
- ... 26 common frames omitted
|