flywaydb mysql_flyway和Mysql

在centos上执行mvn clean compile flyway:migrate报一下错误

[WARNING]

[WARNING] Some problems were encountered while building the effective model for cn.alitababa:alitababa:jar:0.0.1-SNAPSHOT

[WARNING] 'dependencyManagement.dependencies.dependency.exclusions.exclusion.artifactId' for org.quartz-scheduler:quartz:jar with value '*' does not match a valid id pattern. @ org.springframework.boot:spring-boot-dependencies:2.2.4.RELEASE, /root/.m2/repository/org/springframework/boot/spring-boot-dependencies/2.2.4.RELEASE/spring-boot-dependencies-2.2.4.RELEASE.pom, line 2753, column 25

[WARNING]

[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.

[WARNING]

[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.

[WARNING]

[INFO]

[INFO] ------------------------------------------------------------------------

[INFO] Building alitababa 0.0.1-SNAPSHOT

[INFO] ------------------------------------------------------------------------

[INFO]

[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ alitababa ---

[INFO]

[INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ alitababa ---

[INFO] Using 'UTF-8' encoding to copy filtered resources.

[INFO] Copying 2 resources

[INFO] Copying 428 resources

[INFO]

[INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ alitababa ---

[INFO] Changes detected - recompiling the module!

[INFO] Compiling 64 source files to /root/App/community/target/classes

[INFO] /root/App/community/src/main/java/cn/alitababa/controller/CommentController.java: Some input files use unchecked or unsafe operations.

[INFO] /root/App/community/src/main/java/cn/alitababa/controller/CommentController.java: Recompile with -Xlint:unchecked for details.

[INFO]

[INFO] --- flyway-maven-plugin:6.2.2:migrate (default-cli) @ alitababa ---

[INFO] Flyway Community Edition 6.2.2 by Redgate

[INFO] Database: jdbc:mysql://localhost:3306/community (MySQL 5.7)

[INFO] Successfully validated 11 migrations (execution time 00:00.049s)

[INFO] ------------------------------------------------------------------------

[INFO] BUILD FAILURE

[INFO] ------------------------------------------------------------------------

[INFO] Total time: 13.624s

[INFO] Finished at: Fri Mar 06 17:32:12 CST 2020

[INFO] Final Memory: 28M/105M

[INFO] ------------------------------------------------------------------------

[WARNING] The requested profile "production" could not be activated because it does not exist.

[ERROR] Failed to execute goal org.flywaydb:flyway-maven-plugin:6.2.2:migrate (default-cli) on project alitababa: org.flywaydb.core.internal.exception.FlywaySqlException:

[ERROR] Unable to check whether schema `community` is empty

[ERROR] ---------------------------------------------------

[ERROR] SQL State : HY000

[ERROR] Error Code : 1577

[ERROR] Message : Cannot proceed because system tables used by Event Scheduler were found damaged at server start

[ERROR] -> [Help 1]

[ERROR]

[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.

[ERROR] Re-run Maven using the -X switch to enable full debug logging.

[ERROR]

[ERROR] For more information about the errors and possible solutions, please read the following articles:

[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException


版权声明:本文为weixin_34270668原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。