i got a problem with MongoDB. I installed it on my linux server with sudo apt-get install mongodb. When i now try to connect with my java driver to it, it says
Caused by: com.mongodb.MongoIncompatibleDriverException: This version of the driver is not compatible with one or more of the servers to which it is connected: ClusterDescription{type=STANDALONE, connectionMode=SINGLE, serverDescriptions=[ServerDescription{address=127.0.0.1:27017, type=STANDALONE, state=CONNECTED, ok=true, version=ServerVersion{versionList=[2, 4, 10]}, minWireVersion=0, maxWireVersion=0, maxDocumentSize=16777216, roundTripTimeNanos=708358}]}
My mongodb version on the server semms to be older than my driver version. My java driver version is 3.6 mongo-version shows me 2.4
How i could solve this problem ?