Results 1 to 6 of 6
Thread: Jena API
- 10-17-2010, 04:45 PM #1
Member
- Join Date
- Oct 2010
- Location
- Pondicherry
- Posts
- 6
- Rep Power
- 0
-
The Eclipse help files will tell you how add a jar file to your class's compilation path. If you haven't done so, please have a look there. You will have to change your project's properties to do this.
- 10-17-2010, 05:20 PM #3
Member
- Join Date
- Oct 2010
- Location
- Pondicherry
- Posts
- 6
- Rep Power
- 0
thanks, i've included d files...
but got some new errors..
Exception in thread "main" java.lang.Error: Unresolved compilation problems:
The import org.slf4j.Logger cannot be resolved
The import org.slf4j.LoggerFactory cannot be resolved
Logger cannot be resolved to a type
LoggerFactory cannot be resolved
Logger cannot be resolved to a type
at com.hp.hpl.jena.util.Metadata.<init>(Metadata.java :15)
at com.hp.hpl.jena.JenaRuntime.<clinit>(JenaRuntime.j ava:25)
at com.hp.hpl.jena.rdf.model.impl.RDFReaderFImpl.<cli nit>(RDFReaderFImpl.java:87)
at com.hp.hpl.jena.rdf.model.impl.ModelCom.<clinit>(M odelCom.java:42)
at com.hp.hpl.jena.rdf.model.ModelFactory.createDefau ltModel(ModelFactory.java:122)
at com.hp.hpl.jena.rdf.model.ModelFactory.createDefau ltModel(ModelFactory.java:116)
at Tutorial05.main(Tutorial05.java:32)
also the same code runs well in cmd ..
-
- 10-17-2010, 05:58 PM #5
Member
- Join Date
- Oct 2010
- Location
- Pondicherry
- Posts
- 6
- Rep Power
- 0
Project > Properties > Java Build Path
in libraries tab, clicked Add External JARs button
and selected the required jar files and clicked finish
all the files are included in project explorer tab.
- 10-17-2010, 06:06 PM #6
Member
- Join Date
- Oct 2010
- Location
- Pondicherry
- Posts
- 6
- Rep Power
- 0


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks