简体   繁体   中英

Is “spring-data-mongodb: 1.10.7” is compatible with “mongo v3.6.0”

I am getting this exception, when I am using mongoTemplate.aggregate API.

Command execution failed: Error [The 'cursor' option is required, except for aggregate with the explain argument].

I am using sprig-data api version - 1.10.7. Is this version compatible with mongo v3.6.0 OR do i need to upgrade the spring-data API as well?

尝试使用spring-data-mongodb:1.10.12

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM