File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
docs/reference/content/driver/getting-started Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -22,10 +22,20 @@ The MongoDB Driver is the updated synchronous Java driver that includes the
22
22
legacy API as well as a new generic MongoCollection interface that complies with
23
23
a new cross-driver CRUD specification.
24
24
25
+ {{% note class="important" %}}
26
+ For OSGi-based applications: due to the fact that there are classes from the ` com.mongodb ` package in both this artifact and in the
27
+ ` mongodb-driver-core ` artifact, on which this depends, this artifact is * not* an OSGi bundle. Please use the ` mongo-java-driver ` uber
28
+ jar (described below) instead.
29
+ {{% /note %}}
30
+
25
31
{{< install artifactId="mongodb-driver" version="3.0.1" dependencies="true">}}
26
32
27
33
28
34
## Uber MongoDB Java Driver
29
35
An uber jar that contains everything you need; the BSON library, the core library and the mongodb-driver.
30
36
37
+ {{% note %}}
38
+ For OSGi-based applications: this artifact is a valid OSGi bundle.
39
+ {{% /note %}}
40
+
31
41
{{< install artifactId="mongo-java-driver" version="3.0.1" >}}
You can’t perform that action at this time.
0 commit comments