I am getting error in eclipse console while building application
package com.mongodb.client does not exist.
I am importing two packages :
import com.mongodb.client.AggregateIterable;
import org.bson.Document;
Download the jar files of the packages and add it to the build path of your project.
If you are using maven, add the dependency in pom.xml
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.