Skip to content

Commit

Permalink
Polish docs
Browse files Browse the repository at this point in the history
  • Loading branch information
izeye committed Jan 20, 2023
1 parent dc7de95 commit 1b7638f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/getting-started/connecting.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ configuring authentication, refer to
==== Your first request

The code snippet below searches all items from a “product” index whose name
matches “bicycle” and return them as instances of a `Product` application class.
matches “bicycle” and returns them as instances of a `Product` application class.

It illustrates the use of fluent functional builders to write search queries as
concise DSL-like code. This pattern is explained in more detail in
Expand Down
2 changes: 1 addition & 1 deletion docs/getting-started/installation.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ dependencies {

Some frameworks like Spring Boot or Helidon come with their Gradle and Maven plugins or their Maven BOM files to ease development and dependency management. These plugins and BOM define the versions to use for a number of well-known libraries.

One these libraries can be `jakarta.json:json-api` that defines the standard Java JSON API. In version `1.x` this library used the `javax.json` package, while in version `2.x` it uses the `jakarta.json` package after https://blogs.oracle.com/javamagazine/post/transition-from-java-ee-to-jakarta-ee[the transition from JavaEE to JakartaEE].
One of these libraries can be `jakarta.json:json-api` that defines the standard Java JSON API. In version `1.x` this library used the `javax.json` package, while in version `2.x` it uses the `jakarta.json` package after https://blogs.oracle.com/javamagazine/post/transition-from-java-ee-to-jakarta-ee[the transition from JavaEE to JakartaEE].

The {java-client} depends on version `2.0.1` of this library, in order to use the newer and future-proof `jakarta.json` package. But some build plugins and BOMs override the {java-client}'s dependency to use version `1.x` in the older `javax.json` namespace, resulting in `ClassNotFoundException: jakarta.json.spi.JsonProvider`.

Expand Down

0 comments on commit 1b7638f

Please sign in to comment.