<dependency>
<groupId>org.mongodb</groupId>
<artifactId>mongo-java-driver</artifactId><!--注意是mongo-java-driver-->
<version>3.0.4</version>
</dependency>
jar包地址:https://repo1.maven.org/maven2/org/mongodb/mongo-java-driver/3.4.3/
<dependency>
<groupId>org.mongodb</groupId>
<artifactId>mongo-java-driver</artifactId><!--注意是mongo-java-driver-->
<version>3.0.4</version>
</dependency>
jar包地址:https://repo1.maven.org/maven2/org/mongodb/mongo-java-driver/3.4.3/