-
Notifications
You must be signed in to change notification settings - Fork 157
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fongo not compatible with 3.7 driver version #337
Comments
can you try with driver37 branch ? |
my tests pass with driver37 branch, thanks! It would be nice to have a first fongo release for 3.7 :) |
@hoffrocket any plans about merging his PR or supporting 3.7 in general? |
There are other issues adressing the same topic: #357 @twillouer any news about supporting mongodb driver 3.7+? |
I am also facing this issue that prevents me from upgrading to Spring Boot 2.1.0. I tried to test using the
The error message is in french, it tells that it was impossible to find the main class I would have used the manually built jar as a workaround until the new Fongo release is published on the Maven Central repository, but this error prevents me from testing this workaround. |
Same issue for me on Spring Boot 2.1.0 mongo db driver 3.8.2 and Java 8. I am on the "fongo-2.2.0-RC2" release. Caused by: java.lang.NoClassDefFoundError: com/mongodb/OperationExecutor |
I finally could build the I tested it with Spring Boot 2.1.0 (driver 3.8.2) and it does not work. I get this error:
It sounds like the driver 3.8 is different from the 3.7 one. |
Same here: Java: 11 |
You should give a try to mongo-java-server. I tried it recently, I encountered two blocking issues (features not yet implemented), I reported them and they were fixed very quickly. All my tests are now running with Spring Boot 2.1.0. 😀 |
Thx @bsautel - works like a charm! 👍 A short How-To for those, running into same Problem Replace "fongo" with "mongo-java-server" in your pom.xml, gradle whatever
Add Spring Boot Configuration
Make a Test
Keep smiling! :) |
Nice @leantrace , thanks for sharing the replacement example! I just noticed noticed that you don't close the server in your |
@leantrace @bsautel: I’m happy to hear that mongo-java-server works for you. The Spring Boot configuration example could be something to include in the README. |
Hi, Not sure if I should double-post it or not, but you might be interested in that other comment of mine for a solution to have fongo working with mongo 3.8 : #357 (comment) |
MongoOperation, MongoDatabaseImpl, MongoCollectionImpl, etc. have moved to com.mongodb.client.internal package...
The text was updated successfully, but these errors were encountered: