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
Copy file name to clipboardExpand all lines: README.md
+9-3Lines changed: 9 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ Official Weaviate Java Client.
6
6
7
7
## Usage
8
8
9
-
To start using Weaviate Java Client add this dependency to `pom.xml`:
9
+
To start using Weaviate Java Client add the dependency to `pom.xml`:
10
10
11
11
```xml
12
12
@@ -17,11 +17,17 @@ To start using Weaviate Java Client add this dependency to `pom.xml`:
17
17
</dependency>
18
18
```
19
19
20
-
### For applications on Java 9 or above
20
+
### Uber JAR🫙
21
+
22
+
If you're building a uber-JAR with something like `maven-assembly-plugin`, use a shaded version with classifier `all`.
23
+
This ensures that all dynamically-loaded dependecies of `io.grpc` are resolved correctly.
24
+
25
+
26
+
### Gson and reflective access to internal JDK classes
21
27
22
28
The client uses Google's [`gson`](https://github.com/google/gson) for JSON de-/serialization which does reflection on internal `java.lang` classes. This is _not allowed by default_ in Java 9 and above.
23
29
24
-
To work around this, it's necessary to add this JVM commandline argument:
30
+
To work around this, it's necessary to add this JVM command line argument:
0 commit comments