Unsupported database: oracle 19c
garco
Posts: 2 New member
I get this message when deploying my application using flyway:
Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'org.springframework.boot.autoconfigure.batch.BatchAutoConfiguration$SpringBootBatchConfiguration' : Unsatisfied dependency expressed through constructor parameter 2: Error creating bean with name 'transactionManager' defined in class path resource [org/springframework/boot/autoconfigure/orm/jpa/HibernateJpaConfiguration.class]: Error creating bean with name 'flywayInitializer' defined in class path resource [org/springframework/boot/autoconfigure/flyway/FlywayAutoConfiguration$FlywayConfiguration.class]: Unsupported Database: Oracle 19.0
Version 9.16.3 works fine, 10.20.0 is not.
<dependency>
<groupId>org.flywaydb</groupId>
<artifactId>flyway-core</artifactId>
<version>10.20.0</version>
</dependency> We need to update to the latest version due to SpringBoot.
Best Answer
-
AlistairW Posts: 36 Bronze 2Database dependencies have been moving out of flyway-core into plugins (starting mid-version 9) so you will need to add the dependencies to your project, see the doc page here:
https://documentation.red-gate.com/fd/oracle-database-225608749.html
Answers