lenve / vhr

微人事是一个前后端分离的人力资源管理系统,项目采用SpringBoot+Vue开发。
http://vhr.javaboy.org
27.28k stars 10.29k forks source link

这个报错我看不懂,有哪位大哥解释一下 #190

Open 18394597545 opened 4 years ago

18394597545 commented 4 years ago

Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled. 2020-02-19 13:17:30.198 ERROR 17332 --- [ main] 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.FlywayException: Found non-empty schema(s) vhr without schema history table! Use baseline() or set baselineOnMigrate to true to initialize the schema history table.

dzcdhj commented 4 years ago

我也遇到这个错误,在application.properties中添加:

spring.flyway.enabled=false

18394597545 commented 4 years ago

谢谢 解决了这个问题

yyuanshuai commented 4 years ago

感谢

hson08 commented 4 years ago

thank u

liangdongld commented 2 years ago

感谢