I’m working on one kotlin project and I’ve stuck on the conflict of dependencies:
I have spring boot 2.6.3 and several libraries related to r2dbc:
implementation("org.postgresql", "r2dbc-postgresql", "0.9.0.M1")
implementation("org.postgresql", "postgresql", "42.6.0")
implementation("io.r2dbc", "r2dbc-spi", "0.9.1.RELEASE")
implementation("io.r2dbc", "r2dbc-pool", "0.9.1.RELEASE")
But I see an error
ChannelOperationsHandler : [d48f792d, L:/[0:0:0:0:0:0:0:1]:60441 - R:localhost/[0:0:0:0:0:0:0:1]:5432] Error was received while reading the incoming data. The connection will be closed.
java.lang.NoClassDefFoundError: io/r2dbc/spi/Type
I have not found any information about compatibility r2dbc-postgresql v0.9.0.M1 with boot 2.6.3 and about Type class in api library.
I’ve tried to update r2dbc-spi & r2dbc-postgresql to 1.0.0.RELEASE and some similar versions but it did not help me out.
Could you kindly give me a piece of advice about this compatibility?