Caused by: org.flywaydb.core.api.FlywayException: Validate failed: Migration checksum mismatch for migration version 700013
When spring boot integrates flyway for database version management, the startup service reports an error org.flywaydb.core.api.flywayexception: validate failed: detected failed migration to version 1.1 (fixusername)
reason:
Because I modified SQL in the original version, this error is mainly due to flyway_ schema_ The recorded data in history affects the startup and needs to be checked
Solution 1:
If you don’t want to recreate a version,
you need to find the relevant table in the database, delete the data related to this version, modify and restore the fields related to this version, and then reload it
Solution 2
Create a new version, write the relevant data changes to the version, and restart the project
Read More:
- Caused by: org.apache.catalina.LifecycleException: A child container failed during start
- When OFBiz project starts, caused by: org.codehaus.groovy . control.MultipleCompilationErrorsException : startup failed:
- Caused by: java.lang.ClassNotFoundException: com.alibaba.nacos.api.naming.NamingMaintainService
- Caused by: org.apache.ibatis.builder.BuilderException: Error resolving class. Cause: org.apache.ibat
- Caused by: org.xml.sax.SAXParseException; lineNumber: 479
- Caused by: java.net.SocketException : connection reset or caused by: java.sql.SQLRecoverableException solve
- “[warning] failed to retrieve plugin descriptor for caused by Maven security agent settings org.apache.maven . plugins:… “
- Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException
- Caused by: org.springframework.beans.factory.beancreationexception: error creating be
- Caused by: org.yaml.snakeyaml.parser.ParserException: while parsing a block collection
- Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of ty
- Caused by: org.apache.maven.plugin.MojoFailureException: There are test failures.
- Webpack — module build failed: error: the node API for ‘Babel’ has been moved to Babel core
- How to Fix webpack Module build failed Error: The node API for ‘babel’ has been moved to babel-core
- Chunkloaderror caused by deleteoriginalassets: loading chunk * failed error
- Quick solution org.gradle.api . tasks.TaskExecutionException : Execution failed for task ‘: app:compileJava ‘
- NACOS error com.alibaba.nacos.api.exception.NacosException: failed to req API:/api//nacos/v1/ns/instance
- org.springframework.core.NestedIOException: Failed to parse mapping resource: ‘file
- module ‘tensorflow_core._api.v2.train’ has no attribute ‘slice_input_producer’
- Caused by: com.android.builder.dexing.DexArchiveBuilderException: Failed to process D:\….\0.jar