The link given is:

http://repo1.maven.org/maven2/com/hp/hpl/jena/jena/2.6.4/jena-2.6.4-tests.jar

which is the wrong jar. (has "-tests" in it.)

try:
http://repo1.maven.org/maven2/com/hp/hpl/jena/jena/2.6.4/jena-2.6.4.jar

You can download direction from http://repo1.maven.org/maven2/ as well which does work.

We have no control over mvnrepository

        Andy


On 04/05/11 18:45, Alison Callahan wrote:
Hello,

I am using Jena in a Maven project, and I am unable to import the class
com.hp.hpl.rdf.arp.JenaHandler.

Here is how I include Jena in my pom.xml:

<dependency>
     <groupId>com.hp.hpl.jena</groupId>
     <artifactId>jena</artifactId>
     <version>2.6.4</version>
</dependency>

When I look at the source JAR from
http://sourceforge.net/projects/jena/files/Jena/Jena-2.6.4/, the class is
there, however when I download the JAR from
http://mvnrepository.com/artifact/com.hp.hpl.jena/jena/2.6.4, the
JenaHandler class as well as other classes in the same package are missing.

Would updating the JAR available through Maven (http://mvnrepository.com) to
include the com.hp.hpl.rdf.arp.JenaHandler class resolve this issue?

Thanks,

Alison Callahan

Reply via email to