Carter
01/12/2020, 12:53 PMtapac
01/13/2020, 6:28 AMtapac
01/13/2020, 12:26 PMCarter
01/13/2020, 2:05 PMjava.lang.IllegalStateException: Can't load implementation for DatabaseConnectionAutoRegistration
.
If I roll back to 0.17.7 (and make the changes to dependencies and imports for my objects), then it runs just fine.
I can try to troubleshoot some more on my end, although I’m not clear what might isolate it further just yet.
The initialization is pretty straightforward. I’m just trying to use a SQLite database file. I also tried a h2 database but that didn’t make a difference.Carter
01/13/2020, 3:40 PMCarter
01/14/2020, 1:51 PMcore
and dao
dependencies as api
, and sqlite-jdbc
and exposed-jdbc
as implementation
.
The app project uses this library and generally has little direct knowledge of exposed.
It seems that something is going wrong with the transitive dependencies to sqlite-jdbc
and exposed-jdbc
. If I explicitly add them to the app project’s jvmMain dependencies, then it works. I don’t see why it should fail, because they’re already provided by the db module.tapac
01/14/2020, 7:48 PMCarter
01/28/2020, 1:51 PM