Caused by: org.springframework.beans.factory.BeanCreationException: Error creati ng bean with name 'flywayInitializer' defined in class path resource [org/spring framework/boot/autoconfigure/flyway/FlywayAutoConfiguration$FlywayConfiguration. class]: Invocation of init method failed; nested exception is org.flywaydb.core. api.FlywayException: Validate failed. Migration Checksum mismatch for migration 1 -> Applied to database : -515068694 -> Resolved locally : -1504439119 at org.springframework.beans.factory.support.AbstractAutowireCapableBean Factory.initializeBean(AbstractAutowireCapableBeanFactory.java:1628) at org.springframework.beans.factory.support.AbstractAutowireCapableBean Factory.doCreateBean(AbstractAutowireCapableBeanFactory.java:555) at org.springframework.beans.factory.support.AbstractAutowireCapableBean Factory.createBean(AbstractAutowireCapableBeanFactory.java:483) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getOb ject(AbstractBeanFactory.java:306) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistr y.getSingleton(DefaultSingletonBeanRegistry.java:230) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBe an(AbstractBeanFactory.java:302) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean (AbstractBeanFactory.java:197) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBe an(AbstractBeanFactory.java:296) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean (AbstractBeanFactory.java:197) at org.springframework.context.support.AbstractApplicationContext.getBea n(AbstractApplicationContext.java:1080) at org.springframework.context.support.AbstractApplicationContext.finish BeanFactoryInitialization(AbstractApplicationContext.java:857) at org.springframework.context.support.AbstractApplicationContext.refres h(AbstractApplicationContext.java:543) at org.springframework.boot.context.embedded.EmbeddedWebApplicationConte xt.refresh(EmbeddedWebApplicationContext.java:122) at org.springframework.boot.SpringApplication.refresh(SpringApplication. java:693) at org.springframework.boot.SpringApplication.refreshContext(SpringAppli cation.java:360) at org.springframework.boot.SpringApplication.run(SpringApplication.java :303) at org.springframework.boot.web.support.SpringBootServletInitializer.run (SpringBootServletInitializer.java:154) at org.springframework.boot.web.support.SpringBootServletInitializer.cre ateRootApplicationContext(SpringBootServletInitializer.java:134) at org.springframework.boot.web.support.SpringBootServletInitializer.onS tartup(SpringBootServletInitializer.java:87) at org.springframework.web.SpringServletContainerInitializer.onStartup(S pringServletContainerInitializer.java:169) at org.apache.catalina.core.StandardContext.startInternal(StandardContex t.java:5151) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) ... 10 more Caused by: org.flywaydb.core.api.FlywayException: Validate failed. Migration Che cksum mismatch for migration 1 -> Applied to database : -515068694 -> Resolved locally : -1504439119 at org.flywaydb.core.Flyway.doValidate(Flyway.java:1108) at org.flywaydb.core.Flyway.access$300(Flyway.java:62) at org.flywaydb.core.Flyway$1.execute(Flyway.java:1012) at org.flywaydb.core.Flyway$1.execute(Flyway.java:1006) at org.flywaydb.core.Flyway.execute(Flyway.java:1418) at org.flywaydb.core.Flyway.migrate(Flyway.java:1006) at org.springframework.boot.autoconfigure.flyway.FlywayMigrationInitiali zer.afterPropertiesSet(FlywayMigrationInitializer.java:66) at org.springframework.beans.factory.support.AbstractAutowireCapableBean Factory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1687) at org.springframework.beans.factory.support.AbstractAutowireCapableBean Factory.initializeBean(AbstractAutowireCapableBeanFactory.java:1624) ... 31 more 02-Jul-2018 15:35:00.017 SEVERE [localhost-startStop-1] org.apache.catalina.star tup.HostConfig.deployWAR Error deploying web application archive /usr/local/shar e/tomcat8/webapps/srs.war java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.cata lina.LifecycleException: Failed to start component [StandardEngine[Catalina].Sta ndardHost[localhost].StandardContext[/srs]] at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase .java:728) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:70 1) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:717) at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:917) at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java: 1701) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:51 1) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor. java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor .java:617) at java.lang.Thread.run(Thread.java:745)