I’m trying to migrate from old “uber-jar” mongo-java-driver to new mongodb-driver-sync. When I use version 4.0.5 it works perfectly without code changes. When I try to use 4.1.1 or 4.2.0 - getting exception:
org.bson.codecs.configuration.CodecConfigurationException: Can’t find a codec for interface java.util.List
I’ve tried to use corresponding version of mongodb-driver-legacy - same result.
Is it known issue ? Is there a way to use latest driver ?