Я пытаюсь запустить flyway из maven со следующей конфигурацией плагина maven и этой командой: mvn -Dflyway.configFiles = / myfolder / flyway.conf flyway: info
<plugin>
<groupId>org.flywaydb</groupId>
<artifactId>flyway-maven-plugin</artifactId>
<version>6.3.2</version>
<dependencies>
<dependency>
<groupId>org.flywaydb</groupId>
<artifactId>flyway-core</artifactId>
<version>6.3.2</version>
</dependency>
<dependency>
<groupId>com.oracle.jdbc</groupId>
<artifactId>ojdbc8</artifactId>
<version>18.3.0.0</version>
</dependency>
</dependencies>
</plugin>
, но я получаю следующее исключение: может кто-нибудь помочь мне разобраться в этом. Я нигде не мог найти обсуждения подобной проблемы.
[ERROR] Failed to execute goal org.flywaydb:flyway-maven-plugin:5.2.4:info (default-cli) on project tms: org.flywaydb.core.api.FlywayException: Unable to instantiate JDBC driver: oracle.jdbc.OracleDriver => Check whether the jar file is present -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.flywaydb:flyway-maven-plugin:5.2.4:info (default-cli) on project tms: org.flywaydb.core.api.FlywayException: Unable to instantiate JDBC driver: oracle.jdbc.OracleDriver => Check whether the jar file is present
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.flywaydb:flyway-maven-plugin:5.2.4:info (default-cli) on project tms: org.flywaydb.core.api.FlywayException: Unable to instantiate JDBC driver: oracle.jdbc.OracleDriver => Check whether the jar file is present
Caused by: org.apache.maven.plugin.MojoExecutionException: org.flywaydb.core.api.FlywayException: Unable to instantiate JDBC driver: oracle.jdbc.OracleDriver => Check whether the jar file is present