Hi all I have a java program inside it I have imported these classes.
- import com.hp.hpl.mesa.rdf.jena.mem.ModelMem;
- import com.hp.hpl.mesa.rdf.jena.model.*;
- import com.hp.hpl.mesa.rdf.jena.common.PropertyImpl;
when I’m trying to compile the program it shows 3 errors which are:
- package com.hp.hpl.mesa.rdf.jena.mem does not exist import
com.hp.hpl.mesa.rdf.jena.mem.ModelMem; - package com.hp.hpl.mesa.rdf.jena.model does not exist import
com.hp.hpl.mesa.rdf.jena.model.*; - package com.hp.hpl.mesa.rdf.jena.common does not exist import
com.hp.hpl.mesa.rdf.jena.common.PropertyImpl;
I have tried to search for the jar files but I couldn’t, is anyone has the link to download the jar file of those packages.
The Jena packages are under
com.hp.hpl.jena.rdf…. I don’t know where you got thiscom.hp.hpl.mesa.rdf.jena…package name from, but it’s definitely wrong. Maybe you’re using an obsolete example from an ancient Jena version?There shouldn’t be any reason to import
ModelMemorPropertyImpldirectly. If you need aModelMem, useModelFactory.createDefaultModel(). If you need a property instance, usemodel.createProperty().You can download the Jena jars from the Jena download site.