org.flywaydb.core.api.FlywayException: No database found to handle jdbc:oracle:thin
rakeshduhan
Posts: 1 New member
Hi team,
I'm using flyway 10 with oracle db. when I rung my project using eclipse its working fine. but I have create a jar file with a including jar-with-dependencies and try to run then system given me below exception. please can you suggest me how to fix it.
exception-------
I'm using flyway 10 with oracle db. when I rung my project using eclipse its working fine. but I have create a jar file with a including jar-with-dependencies and try to run then system given me below exception. please can you suggest me how to fix it.
exception-------
org.flywaydb.core.api.FlywayException: No database found to handle jdbc:oracle:thin:
at org.flywaydb.core.internal.database.DatabaseTypeRegister.getDatabaseTypeForUrl(DatabaseTypeRegister.java:54)
at org.flywaydb.core.internal.jdbc.DriverDataSource.<init>(DriverDataSource.java:109)
at org.flywaydb.core.internal.jdbc.DriverDataSource.<init>(DriverDataSource.java:89)
at org.flywaydb.core.api.configuration.ClassicConfiguration.setDataSource(ClassicConfiguration.java:1082)
at org.flywaydb.core.api.configuration.FluentConfiguration.dataSource(FluentConfiguration.java:613)
Tagged:
Answers
Have you included the db dependency org.flywaydb:flyway-database-oracle ?