Closed sszuev closed 5 days ago
rdf4j-rio-api depends on HexBinaryAdapter, which is on the XML classes dropped from the Java 11 (IIRC) VM, so that requires manually adding dependencies such as
<dependency>
<groupId>javax.xml.bind</groupId>
<artifactId>jaxb-api</artifactId>
<version>2.3.0</version>
</dependency>
<dependency>
<groupId>com.sun.xml.bind</groupId>
<artifactId>jaxb-core</artifactId>
<version>2.3.0</version>
</dependency>
<dependency>
<groupId>com.sun.xml.bind</groupId>
<artifactId>jaxb-impl</artifactId>
<version>2.3.0</version>
</dependency>
as a workaround you can add these to your project, but they should be included in the next owlapi 5.5 release.
That, or update to a rio version that does not have that dependency. Looks like it's only used to hash blank node ids, which I'm pretty sure can be done without JAXB classes. I'll see what updates are available.
fixed in release 5.5.1
scratch project with following pom:
and main class:
exception: