You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Uplifting to Spring Boot 2.1.0 causes exceptions when using the Fongo (fake Mongo) test support in this project.
To Reproduce
Steps to reproduce the behavior:
Run the tests in this project
Get java.lang.NoClassDefFoundError: com/mongodb/OperationExecutor
Expected behavior
All tests pass - no NoClassDefFoundError errors!
Additional context
Problem worked round by commenting out implementation of test com.aidanwhiteley.books.repository.config.FongoConfig
Problem due to Fongo returning a com.mongodb.OperationExecutor and that class was deprecated and no longer available in the mongodb-driver 3.8.2 used with spring boot 2.1.0.
Describe the bug
Uplifting to Spring Boot 2.1.0 causes exceptions when using the Fongo (fake Mongo) test support in this project.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
All tests pass - no NoClassDefFoundError errors!
Additional context
Problem worked round by commenting out implementation of test com.aidanwhiteley.books.repository.config.FongoConfig
Problem due to Fongo returning a com.mongodb.OperationExecutor and that class was deprecated and no longer available in the mongodb-driver 3.8.2 used with spring boot 2.1.0.
See issue raised on the Fongo project at fakemongo/fongo#357
In the meantime, Fongo support will have to be removed from this project.
The text was updated successfully, but these errors were encountered: