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 <hol...@topquadrant.com>
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 <
> topbraid-users@googlegroups.com> 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 topbraid-users+unsubscr...@googlegroups.com.
> 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 topbraid-users+unsubscr...@googlegroups.com.
> 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 topbraid-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/topbraid-users/CAL58czrBDNB4DjXGMoXzc1n6zajWj_LtVm99n4yV_PsD_Sy6%3Dw%40mail.gmail.com.

Reply via email to