Hey, I'm having a problem with Ebean at the moment and hope someone here is able to help.
It's the first time I'm using Gradle and the first time I'm using Ebean in private, so sorry if there's any obvious mistakes.
This is the config I had using the "Getting Started" documentation:
plugins {
id("io.ebean") version "15.8.0"
}
dependencies {
implementation("com.mysql:mysql-connector-j:9.1.0")
implementation("io.ebean:ebean:15.8.0")
implementation("io.ebean:ebean-querybean:15.8.0")
annotationProcessor("io.ebean:querybean-generator:15.8.0")
}
Then I got an error message stating I should use driver specific packages (since Ebean 13+), which wasn't documented for gradle, so I checked out the Maven page and came up with this:
plugins {
id("io.ebean") version "15.8.0"
}
dependencies {
implementation("com.mysql:mysql-connector-j:9.1.0")
implementation("io.ebean:ebean-api:15.8.0") // fuer io.ebean.service.SpiContainer(Factory)
implementation("io.ebean:ebean-platform-mysql:15.8.0")
implementation("io.ebean:ebean-querybean:15.8.0")
annotationProcessor("io.ebean:querybean-generator:15.8.0")
}
Now I'm getting an error about SpiContainerFactory not being found, even though the class is part of my jar.
DatabaseProvider: https://paste.helpch.at/igogeyiraf.java
Error: https://paste.helpch.at/dihajofopi.rb (also without shading)
