python (65.2k questions)
javascript (44.3k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (13k questions)
org/bson/internal/CodecRegistryHelper with Micronaut data MongoDB
Using the latest Micronaut 3.4.1 with micronaut data and MongoDB. Keep getting the exception as java.lang.NoClassDefFoundError: org/bson/internal/CodecRegistryHelper
Gradle Dependencies
dependencies {...

San Jaisy
Votes: 0
Answers: 1
Java - storing Pojo with Path field in MongoDB
I'm using mongo-java-driver to store POJOs in MongoDB and so far I've had no issues, with doing just this:
CodecProvider pojoCodecProvider = PojoCodecProvider.builder().automatic(true).build();
CodecR...

pypat
Votes: 0
Answers: 1
Invalid @BsonCreator constructor. Expected class java.lang.String, found interface java.util.List
I'm trying to use POJOs to write data to MongoDB, but I can't seem to get it working. I have a lot of different data structures because I'm storing various types of chart data.
Let's start with the e...

John Manko
Votes: 0
Answers: 1
How to set read preference for gridFs in Java?
I want to connect my Java application with gridfs with read preference as secondaryPreferred, preferably using spring-data-mongodb 1.10.1
NKS
Votes: 0
Answers: 0