【发布时间】:2020-05-27 03:16:30
【问题描述】:
我有错误:
Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
2020-02-11 19:25:22.908 ERROR 8116 --- [ restartedMain] o.s.b.d.LoggingFailureAnalysisReporter :
***************************
APPLICATION FAILED TO START
***************************
Description:
Flyway failed to initialize: none of the following migration scripts locations could be found:
- classpath:db/migration
Action:
Review the locations above or check your Flyway configuration
但是有脚本的文件夹和文件是存在的!
还有:
Appication.properties
spring.jpa.generate-ddl=true
spring.jpa.show-sql=false
spring.jpa.hibernate.ddl-auto=validate
为什么 Flyway 看不到文件?
【问题讨论】:
标签: database postgresql jpa migration flyway