Comments
Sort by recent activity
Ah, thanks a lot Peter! I'll give that a try! / comments
Ah, thanks a lot Peter! I'll give that a try!
Hi! Yes, the problem is that this code does not compile – there is no method "driver" on the `FluentConfiguration` object returned by `Flyway.configure()`. I've tested this with `flyway-core` version 9.16.3 from Maven Central, and it also matches what I see in code: https://github.com/flyway/flyway/blob/main/flyway-core/src/main/java/org/flywaydb/core/api/configuration/FluentConfiguration.java / comments
Hi! Yes, the problem is that this code does not compile – there is no method "driver" on the `FluentConfiguration` object returned by `Flyway.configure()`. I've tested this with `flyway-core` versi...
Hi! Yes, the problem is that that code does not compile – there is no such method "driver". Here's some example output compiling that code, with Flyway 9.16.3 from Maven Central on the class path:
$ ./gradlew build
> Task :app:compileJava FAILED
/Users/simon/code/flyway-driver/app/src/main/java/tech/skagedal/flywaydriver/App.java:10: error: cannot find symbol
Flyway.configure().driver("com.mysql.cj.jdbc.Driver");
^
symbol: method driver(String)
location: class FluentConfiguration
1 error
FAILURE: Build failed with an exception.
It can also be seen by looking at the code: https://github.com/flyway/flyway/blob/main/flyway-core/src/main/java/org/flywaydb/core/api/configuration/FluentConfiguration.java – there is no `driver` method here. / comments
Hi! Yes, the problem is that that code does not compile – there is no such method "driver". Here's some example output compiling that code, with Flyway 9.16.3 from Maven Central on the class path:
...