That works, thanks a lot, Richard! Best
Felix On Tue, 1 Feb 2022 at 14:33, Richard Cyganiak <[email protected]> wrote: > If your POM includes Jena, it must be the same version that is used by the > TopBraid SHACL API. > > For TopBraid SHACL API 1.4.2, this would be Jena 4.3.2 (not 3.7.0 as you > have it below). > > For other versions of the API, you can check > https://mvnrepository.com/artifact/org.topbraid/shacl . Select the API > version you're interested in, then scroll down to the Compile Dependencies > section and look for “org.apache.jena » jena-arq” and its version. > > Hope that helps, > Richard > > > > On 1 Feb 2022, at 12:32, 'Felix Sasaki' via TopBraid Suite Users < > [email protected]> wrote: > > Thanks, Holger - just tried this: > <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi=" > http://www.w3.org/2001/XMLSchema-instance" > xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 > http://maven.apache.org/xsd/maven-4.0.0.xsd"> > <modelVersion>4.0.0</modelVersion> > > <groupId>org.jena.tdb</groupId> > <artifactId>tutorial</artifactId> > <version>0.0.1-SNAPSHOT</version> > <packaging>jar</packaging> > > <name>tutorial</name> > <url>http://maven.apache.org</url> > > <properties> > <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> > </properties> > > <dependencies> > <dependency> > <groupId>org.apache.logging.log4j</groupId> > <artifactId>log4j-api</artifactId> > <version>2.6.2</version> > </dependency> > <dependency> > <groupId>org.apache.logging.log4j</groupId> > <artifactId>log4j-core</artifactId> > <version>2.6.2</version> > </dependency> > <dependency> > <groupId>org.apache.logging.log4j</groupId> > <artifactId>log4j-slf4j-impl</artifactId> > <version>2.6.2</version> > </dependency> > <dependency> > <groupId>junit</groupId> > <artifactId>junit</artifactId> > <version>4.12</version> > <scope>test</scope> > </dependency> > <!-- https://mvnrepository.com/artifact/org.apache.jena/apache-jena-libs > --> > <dependency> > <groupId>org.apache.jena</groupId> > <artifactId>apache-jena-libs</artifactId> > <version>3.7.0</version> > <type>pom</type> > </dependency> > <dependency> > <groupId>org.topbraid</groupId> > <artifactId>shacl</artifactId> > <version>1.4.2</version> > </dependency> > </dependencies> > </project> > > > it generates this error: > "WTF ERROR org.jena.tdb.tutorial.TDBCreateWriteRead.main():55 - > org/apache/jena/system/JenaSystem java.lang.NoClassDefFoundError: > org/apache/jena/system/JenaSystem" > > Felix > > On Tue, 1 Feb 2022 at 13:09, Holger Knublauch <[email protected]> > wrote: > >> Have you tried increasing the <version> number to the current release >> 1.4.2? >> >> Holger >> >> >> On 1 Feb 2022, at 9:51 pm, 'Felix Sasaki' via TopBraid Suite Users < >> [email protected]> wrote: >> >> Hi all, >> >> I am trying to use the SHACL API with Jena TDB. >> >> This CreateWriteRead file >> >> https://github.com/henrietteharmse/henrietteharmse/tree/master/blog/tutorial/jena/source/tdb/src/main/java/org/jena/tdb/tutorial >> works with the POM file at >> >> https://github.com/henrietteharmse/henrietteharmse/tree/master/blog/tutorial/jena/source >> if I try to use TDB with shacl by adding a dependency >> <dependency> >> <groupId>org.topbraid</groupId> >> <artifactId>shacl</artifactId> >> <version>1.0.1</version> >> </dependency> >> The POM build fails I get an error: >> java.lang.NoClassDefFoundError: >> org/apache/jena/sparql/core/TransactionHandlerView >> >> Are there any suggestions how to combine the SHACL API with Jena TDB? >> >> Regards >> >> Felix >> >> -- >> You received this message because you are subscribed to the Google Groups >> "TopBraid Suite Users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/topbraid-users/645d1833-0c4e-4d67-abf4-1a55a0c9d9f9n%40googlegroups.com >> <https://groups.google.com/d/msgid/topbraid-users/645d1833-0c4e-4d67-abf4-1a55a0c9d9f9n%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> >> >> >> -- >> You received this message because you are subscribed to the Google Groups >> "TopBraid Suite Users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/topbraid-users/70E7B87D-CCE6-4191-A161-05FFCEBCF955%40topquadrant.com >> <https://groups.google.com/d/msgid/topbraid-users/70E7B87D-CCE6-4191-A161-05FFCEBCF955%40topquadrant.com?utm_medium=email&utm_source=footer> >> . >> > > -- > You received this message because you are subscribed to the Google Groups > "TopBraid Suite Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/topbraid-users/CAL58czrBDNB4DjXGMoXzc1n6zajWj_LtVm99n4yV_PsD_Sy6%3Dw%40mail.gmail.com > <https://groups.google.com/d/msgid/topbraid-users/CAL58czrBDNB4DjXGMoXzc1n6zajWj_LtVm99n4yV_PsD_Sy6%3Dw%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > > > -- > You received this message because you are subscribed to the Google Groups > "TopBraid Suite Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/topbraid-users/98AE2CDA-E761-4AB9-B457-17CEC89FD5D5%40topquadrant.com > <https://groups.google.com/d/msgid/topbraid-users/98AE2CDA-E761-4AB9-B457-17CEC89FD5D5%40topquadrant.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "TopBraid Suite Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/topbraid-users/CAL58czr2XCQH3d9MHsUS9ebz82KEcJ7y03Gwy%2BGtT%2Bn4NXgHzQ%40mail.gmail.com.
