How can we help you today? How can we help you today?

org.flywaydb.core.api.FlywayException: No database found to handle jdbc:oracle:thin

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-------
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)
rakeshduhan
0

Comments

1 comment

  • Peter_Laws
    Hello rakeshduhan,

    Have you included the db dependency org.flywaydb:flyway-database-oracle ?
    Peter_Laws
    0

Add comment

Please sign in to leave a comment.