[INFO] Scanning for projects...
|
[INFO]
|
[INFO] -----------------< com.talentcard:talent-card-server >------------------
|
[INFO] Building talent-card-server 0.0.1-SNAPSHOT
|
[INFO] from pom.xml
|
[INFO] --------------------------------[ jar ]---------------------------------
|
[INFO]
|
[INFO] >>> spring-boot:4.1.0:run (default-cli) > test-compile @ talent-card-server >>>
|
[INFO]
|
[INFO] --- resources:3.5.0:resources (default-resources) @ talent-card-server ---
|
[INFO] Copying 1 resource from src\main\resources to target\classes
|
[INFO] Copying 43 resources from src\main\resources to target\classes
|
[INFO]
|
[INFO] --- compiler:3.15.0:compile (default-compile) @ talent-card-server ---
|
[INFO] Nothing to compile - all classes are up to date.
|
[INFO]
|
[INFO] --- resources:3.5.0:testResources (default-testResources) @ talent-card-server ---
|
[INFO] Copying 1 resource from src\test\resources to target\test-classes
|
[INFO]
|
[INFO] --- compiler:3.15.0:testCompile (default-testCompile) @ talent-card-server ---
|
[INFO] Nothing to compile - all classes are up to date.
|
[INFO]
|
[INFO] <<< spring-boot:4.1.0:run (default-cli) < test-compile @ talent-card-server <<<
|
[INFO]
|
[INFO]
|
[INFO] --- spring-boot:4.1.0:run (default-cli) @ talent-card-server ---
|
[INFO] Attaching agents: []
|
|
. ____ _ __ _ _
|
/\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
|
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
|
\\/ ___)| |_)| | | | | || (_| | ) ) ) )
|
' |____| .__|_| |_|_| |_\__, | / / / /
|
=========|_|==============|___/=/_/_/_/
|
|
:: Spring Boot :: (v4.1.0)
|
|
2026-07-28T18:22:56.270+08:00 INFO 5104 --- [talent-card-server] [ main] c.t.server.TalentCardServerApplication : Starting TalentCardServerApplication using Java 17.0.19 with PID 5104 (D:\Code\talent-card\talent-card-server\target\classes started by Sasuke in D:\Code\talent-card\talent-card-server)
|
2026-07-28T18:22:56.273+08:00 DEBUG 5104 --- [talent-card-server] [ main] c.t.server.TalentCardServerApplication : Running with Spring Boot v4.1.0, Spring v7.0.8
|
2026-07-28T18:22:56.274+08:00 INFO 5104 --- [talent-card-server] [ main] c.t.server.TalentCardServerApplication : No active profile set, falling back to 1 default profile: "default"
|
2026-07-28T18:22:56.739+08:00 INFO 5104 --- [talent-card-server] [ main] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode
|
2026-07-28T18:22:56.744+08:00 INFO 5104 --- [talent-card-server] [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
|
2026-07-28T18:22:56.822+08:00 INFO 5104 --- [talent-card-server] [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 71 ms. Found 1 JPA repository interface.
|
2026-07-28T18:22:57.195+08:00 INFO 5104 --- [talent-card-server] [ main] o.s.boot.tomcat.TomcatWebServer : Tomcat initialized with port 8080 (http)
|
2026-07-28T18:22:57.208+08:00 INFO 5104 --- [talent-card-server] [ main] o.apache.catalina.core.StandardService : Starting service [Tomcat]
|
2026-07-28T18:22:57.209+08:00 INFO 5104 --- [talent-card-server] [ main] o.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/11.0.22]
|
2026-07-28T18:22:57.244+08:00 INFO 5104 --- [talent-card-server] [ main] b.w.c.s.WebApplicationContextInitializer : Root WebApplicationContext: initialization completed in 941 ms
|
2026-07-28T18:22:57.436+08:00 INFO 5104 --- [talent-card-server] [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting...
|
2026-07-28T18:22:57.529+08:00 INFO 5104 --- [talent-card-server] [ main] com.zaxxer.hikari.pool.HikariPool : HikariPool-1 - Added connection com.mysql.cj.jdbc.ConnectionImpl@7b3085a3
|
2026-07-28T18:22:57.532+08:00 INFO 5104 --- [talent-card-server] [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed.
|
2026-07-28T18:22:57.550+08:00 INFO 5104 --- [talent-card-server] [ main] org.flywaydb.core.FlywayExecutor : Database: jdbc:mysql://localhost:3306/talent_card?useUnicode=true&characterEncoding=utf8&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&useSSL=false (MySQL 5.7)
|
2026-07-28T18:22:57.572+08:00 INFO 5104 --- [talent-card-server] [ main] o.f.c.internal.database.base.Database : MySQL 5.7 is outside of Redgate community support. See https://rd.gt/468B6ni for details
|
2026-07-28T18:22:57.626+08:00 WARN 5104 --- [talent-card-server] [ main] ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in class path resource [org/springframework/boot/hibernate/autoconfigure/HibernateJpaConfiguration.class]: Failed to initialize dependency 'flywayInitializer' of LoadTimeWeaverAware bean 'entityManagerFactory': Error creating bean with name 'flywayInitializer' defined in class path resource [org/springframework/boot/flyway/autoconfigure/FlywayAutoConfiguration$FlywayConfiguration.class]: Validate failed: Migrations have failed validation
|
Detected failed migration to version 41 (backfill legacy movie ticket claim).
|
Please remove any half-completed changes then run repair to fix the schema history.
|
Need more flexibility with validation rules? Learn more: https://help.red-gate.com/help/flyway-cli12/help_4.aspx?topic=flyway-blog/older-posts/customize-validation-rules-with-ignoremigrationpatterns
|
2026-07-28T18:22:57.626+08:00 INFO 5104 --- [talent-card-server] [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown initiated...
|
2026-07-28T18:22:57.630+08:00 INFO 5104 --- [talent-card-server] [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown completed.
|
2026-07-28T18:22:57.632+08:00 INFO 5104 --- [talent-card-server] [ main] o.apache.catalina.core.StandardService : Stopping service [Tomcat]
|
2026-07-28T18:22:57.638+08:00 INFO 5104 --- [talent-card-server] [ main] .s.b.a.l.ConditionEvaluationReportLogger :
|
|
Error starting ApplicationContext. To display the condition evaluation report re-run your application with 'debug' enabled.
|
2026-07-28T18:22:57.647+08:00 ERROR 5104 --- [talent-card-server] [ main] o.s.boot.SpringApplication : Application run failed
|
|
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in class path resource [org/springframework/boot/hibernate/autoconfigure/HibernateJpaConfiguration.class]: Failed to initialize dependency 'flywayInitializer' of LoadTimeWeaverAware bean 'entityManagerFactory': Error creating bean with name 'flywayInitializer' defined in class path resource [org/springframework/boot/flyway/autoconfigure/FlywayAutoConfiguration$FlywayConfiguration.class]: Validate failed: Migrations have failed validation
|
Detected failed migration to version 41 (backfill legacy movie ticket claim).
|
Please remove any half-completed changes then run repair to fix the schema history.
|
Need more flexibility with validation rules? Learn more: https://help.red-gate.com/help/flyway-cli12/help_4.aspx?topic=flyway-blog/older-posts/customize-validation-rules-with-ignoremigrationpatterns
|
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:322) ~[spring-beans-7.0.8.jar:7.0.8]
|
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:201) ~[spring-beans-7.0.8.jar:7.0.8]
|
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:977) ~[spring-context-7.0.8.jar:7.0.8]
|
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:621) ~[spring-context-7.0.8.jar:7.0.8]
|
at org.springframework.boot.web.server.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:143) ~[spring-boot-web-server-4.1.0.jar:4.1.0]
|
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:756) ~[spring-boot-4.1.0.jar:4.1.0]
|
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:445) ~[spring-boot-4.1.0.jar:4.1.0]
|
at org.springframework.boot.SpringApplication.run(SpringApplication.java:321) ~[spring-boot-4.1.0.jar:4.1.0]
|
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1365) ~[spring-boot-4.1.0.jar:4.1.0]
|
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1354) ~[spring-boot-4.1.0.jar:4.1.0]
|
at com.talentcard.server.TalentCardServerApplication.main(TalentCardServerApplication.java:10) ~[classes/:na]
|
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'flywayInitializer' defined in class path resource [org/springframework/boot/flyway/autoconfigure/FlywayAutoConfiguration$FlywayConfiguration.class]: Validate failed: Migrations have failed validation
|
Detected failed migration to version 41 (backfill legacy movie ticket claim).
|
Please remove any half-completed changes then run repair to fix the schema history.
|
Need more flexibility with validation rules? Learn more: https://help.red-gate.com/help/flyway-cli12/help_4.aspx?topic=flyway-blog/older-posts/customize-validation-rules-with-ignoremigrationpatterns
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1815) ~[spring-beans-7.0.8.jar:7.0.8]
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:603) ~[spring-beans-7.0.8.jar:7.0.8]
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:525) ~[spring-beans-7.0.8.jar:7.0.8]
|
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:333) ~[spring-beans-7.0.8.jar:7.0.8]
|
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:371) ~[spring-beans-7.0.8.jar:7.0.8]
|
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:331) ~[spring-beans-7.0.8.jar:7.0.8]
|
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:196) ~[spring-beans-7.0.8.jar:7.0.8]
|
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:309) ~[spring-beans-7.0.8.jar:7.0.8]
|
... 10 common frames omitted
|
Caused by: org.flywaydb.core.api.exception.FlywayValidateException: Validate failed: Migrations have failed validation
|
Detected failed migration to version 41 (backfill legacy movie ticket claim).
|
Please remove any half-completed changes then run repair to fix the schema history.
|
Need more flexibility with validation rules? Learn more: https://help.red-gate.com/help/flyway-cli12/help_4.aspx?topic=flyway-blog/older-posts/customize-validation-rules-with-ignoremigrationpatterns
|
at org.flywaydb.core.Flyway.lambda$migrate$3(Flyway.java:187) ~[flyway-core-12.4.0.jar:na]
|
at org.flywaydb.core.FlywayExecutor.execute(FlywayExecutor.java:236) ~[flyway-core-12.4.0.jar:na]
|
at org.flywaydb.core.FlywayExecutor.execute(FlywayExecutor.java:120) ~[flyway-core-12.4.0.jar:na]
|
at org.flywaydb.core.Flyway.migrate(Flyway.java:181) ~[flyway-core-12.4.0.jar:na]
|
at org.springframework.boot.flyway.autoconfigure.FlywayMigrationInitializer.afterPropertiesSet(FlywayMigrationInitializer.java:67) ~[spring-boot-flyway-4.1.0.jar:4.1.0]
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1862) ~[spring-beans-7.0.8.jar:7.0.8]
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1811) ~[spring-beans-7.0.8.jar:7.0.8]
|
... 17 common frames omitted
|
|
[INFO] ------------------------------------------------------------------------
|
[INFO] BUILD FAILURE
|
[INFO] ------------------------------------------------------------------------
|
[INFO] Total time: 3.244 s
|
[INFO] Finished at: 2026-07-28T18:22:57+08:00
|
[INFO] ------------------------------------------------------------------------
|
[ERROR] Failed to execute goal org.springframework.boot:spring-boot-maven-plugin:4.1.0:run (default-cli) on project talent-card-server: Process terminated with exit code: 1 -> [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
|