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
MongoOperations is the imperative (non reactive) variant. The new MongoDB driver has harmonized their infrastructure with a clear split so that is expected. If you need the imperative variant, you need to add spring-boot-starter-data-mongodb.
Here are my
pom.xml
dependencies generated from https://start.spring.ioTo reproduce this issue, just
@Autowire MongoOperations ops
. This configuration works with2.2.6.RELEASE
without any issues.The error is:
The text was updated successfully, but these errors were encountered: