incubator-clerezza-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paolo Castagna <castagna.li...@googlemail.com>
Subject Re: HelloWorld with Clerezza?
Date Tue, 08 Nov 2011 16:49:20 GMT
Hi Reto

On 8 November 2011 07:47, Paolo Castagna <castagna.lists@googlemail.com> wrote:
> Hi Reto,
> thank you very much for you quick and straight to the point reply.
> I have not had time to try the example out, but I'll come back here if
> I have problems when I do it.

Here I am.

Your example is here:
https://github.com/castagna/Apache-Jena-Examples/blob/master/src/main/java/org/apache/jena/examples/ExampleClerezza_01.java

I added these two dependencies in my pom.xml file:

  <properties>
    <clerezza-rdf.jena.serializer.version>0.10-incubating-SNAPSHOT</clerezza-rdf.jena.serializer.version>
    <clerezza-rdf.jena.parser.version>0.11-incubating-SNAPSHOT</clerezza-rdf.jena.parser.version>
    ...
  </properties>


    <dependency>
      <groupId>org.apache.clerezza</groupId>
      <artifactId>rdf.jena.parser</artifactId>
      <version>${clerezza-rdf.jena.parser.version}</version>
    </dependency>

    <dependency>
      <groupId>org.apache.clerezza</groupId>
      <artifactId>rdf.jena.serializer</artifactId>
      <version>${clerezza-rdf.jena.serializer.version}</version>
    </dependency>

However, when I run the example I get this error:

Exception in thread "main"
org.apache.clerezza.rdf.core.serializedform.UnsupportedParsingFormatException:
No parser available for text/turtle
	at org.apache.clerezza.rdf.core.serializedform.Parser.parse(Parser.java:189)
	at org.apache.clerezza.rdf.core.serializedform.Parser.parse(Parser.java:162)
	at org.apache.clerezza.rdf.core.serializedform.Parser.parse(Parser.java:128)
	at org.apache.jena.examples.ExampleClerezza_01.main(ExampleClerezza_01.java:16)

I am probably doing something wrong or missing something here, but I
do not see what.

Any suggestion?

Thanks,
Paolo

Mime
View raw message