dataease2.7本地启动报错

ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name ‘schedulerStarter’: Unsatisfied dependency expressed through field ‘scheduler’: Error creating bean with name ‘flywayInitializer’ defined in class path resource [org/springframework/boot/autoconfigure/flyway/FlywayAutoConfiguration$FlywayConfiguration.class]: Migration V2.0__core_ddl.sql failed

建库语句是按照官方文档里的创建的不?编码要保持一致才可以

可以把库删了,重新创建一下,再起服务。

已解决,原因是配置文件没生效,解决办法我是直接把配置文件写死,读取指定配置文件

我也是这个问题,怎么搞,配置文件也改了