以下の内容はhttps://www.pospome.work/entry/20150614/1434251582より取得しました。


Flyway で ERROR: Unable to scan for SQL migrations in location: classpath

以下のエラーが出た。

ERROR: Unable to scan for SQL migrations in location: classpath: xxxx/xxxx/xxxxx

confファイルのsqlディレクトリへのパスが認識できないみたい。

結論から言うと、confのパス指定が間違っていた。
以下はconfの説明文を抜粋。

Locations starting with filesystem: point to a directory on the filesystem and may only contain sql migrations.

パス指定は「filesystem:」から始めるらしい。
以下のように設定すると動くようになりました。

flyway.locations=filesystem:/xxxx/xxxx/xxxx

ちゃんと説明読まないとダメだな・・・。




以上の内容はhttps://www.pospome.work/entry/20150614/1434251582より取得しました。
このページはhttp://font.textar.tv/のウェブフォントを使用してます

不具合報告/要望等はこちらへお願いします。
モバイルやる夫Viewer Ver0.14