Closed redcatbear closed 2 years ago
Looks like the problem is not that this one is still using javax instead of jakarta and that bucktFs-java is using jakarta in the wrong way(not the api but directly the implementation)
The correct way to use is:
<dependency>
<groupId>jakarta.json</groupId>
<artifactId>jakarta.json-api</artifactId>
<version>2.0.1</version>
</dependency>
<dependency>
<groupId>org.glassfish</groupId>
<artifactId>jakarta.json</artifactId>
<version>2.0.1</version>
<scope>runtime</scope>
</dependency>
We will also have to replace all imports of javax.json
to jakarta.json
in the source code.
Situation
When used in combination with the latest BucketFS Java 2.2.0, there is a version conflict in:
org.glassfish:jakarta.json
jakarta.json.bind:jakarta.json.bind
Symptoms
Error message:
Acceptance Criteria