# Trouble with Jena and Maven

**URL:** <https://community.stardog.com/t/trouble-with-jena-and-maven/939>\
**Category:** Support\
**Created:** [April 23, 2018, 3:33pm UTC](https://community.stardog.com/t/trouble-with-jena-and-maven/939 "2018-04-23T15:33:10Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![blueAngel35](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.stardog.com/blueangel35/32/301_2.png) [@blueAngel35](https://community.stardog.com/u/blueAngel35)\
**Post date:** [April 23, 2018, 3:33pm UTC](https://community.stardog.com/t/trouble-with-jena-and-maven/939/1 "2018-04-23T15:33:10Z")

</div>

Hi

I developed a software (using spring for server integration) translating datas into semantic with Jena and pushing it on Stardog.

But i have a trouble i can’t use jenaStardog api, but i can use stardog api.

I use Maven with that :

- groupId : com.complexible.stardog
- 

```
  artifactId : client-http

```

- 

```
  version : 5.2.3

```

- 

```
  type : pom

```

But when i want to add that i have an error :

- 

```
  groupId : com.complexible.stardog.jena

```

- 

```
  artifactId : jena

```

- 

```
  version : 5.2.3

```

- 

```
  type : jar

```

Does someone can help me ?  
Thanks for reading

---

<div class="post-metadata">

**Author:** ![stephen](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.stardog.com/stephen/32/27_2.png) [@stephen](https://community.stardog.com/u/stephen)\
**Post date:** [April 23, 2018, 3:35pm UTC](https://community.stardog.com/t/trouble-with-jena-and-maven/939/2 "2018-04-23T15:35:54Z")

</div>

Hi,

The artifact name for the Jena connector is `stardog-jena`, whereas you simply have `jena`. Everything else you pasted from your pom looks good though.

---

<div class="post-metadata">

**Author:** ![blueAngel35](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.stardog.com/blueangel35/32/301_2.png) [@blueAngel35](https://community.stardog.com/u/blueAngel35)\
**Post date:** [April 23, 2018, 3:40pm UTC](https://community.stardog.com/t/trouble-with-jena-and-maven/939/3 "2018-04-23T15:40:48Z")

</div>

Thanks Importation works but my program now doesnt now because of these import  
something about jena : java.lang.NoClassDefFoundError: org/apache/jena/riot/lang/ReaderRIOTRDFXML

---

<div class="post-metadata">

**Author:** ![stephen](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.stardog.com/stephen/32/27_2.png) [@stephen](https://community.stardog.com/u/stephen)\
**Post date:** [April 23, 2018, 4:01pm UTC](https://community.stardog.com/t/trouble-with-jena-and-maven/939/4 "2018-04-23T16:01:29Z")

</div>

Stardog ships with support for Jena 3.2.0. It appears that this specific class was added in 3.3.0. You could try to force maven to use a more recent version, or use a different implementation of `ReaderRIOT` in your jena code. We will work on updating to the latest jena in a future release.

---

<div class="post-metadata">

**Author:** ![blueAngel35](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.stardog.com/blueangel35/32/301_2.png) [@blueAngel35](https://community.stardog.com/u/blueAngel35)\
**Post date:** [April 23, 2018, 7:18pm UTC](https://community.stardog.com/t/trouble-with-jena-and-maven/939/5 "2018-04-23T19:18:36Z")

</div>

Thanks now it seems to work perfectly

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex030/uploads/stardog/original/2X/e/ed66b48a616f505106a4acde3c9cee7e6da9bc67.svg) [@system](https://community.stardog.com/u/system)\
**Post date:** [May 7, 2018, 7:18pm UTC](https://community.stardog.com/t/trouble-with-jena-and-maven/939/6 "2018-05-07T19:18:38Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
