Exception in thread "main" java.lang.NoClassDefFoundError: com/hp/hpl/jena/rdf/model/RDFNode

313 views
Skip to first unread message

Kama

unread,
Oct 30, 2008, 4:46:27 AM10/30/08
to foresite
Hi I'm Alessio,
I try to create a new Aggregation and this is the exception:

Exception in thread "main" java.lang.NoClassDefFoundError: com/hp/hpl/
jena/rdf/model/RDFNode

I create the foresite JAR as described in the wiki section and I use
it in my project.

Kama

unread,
Oct 30, 2008, 7:20:00 AM10/30/08
to foresite
I remove jena from the list of dependency and now I have the follow
exceptions:

Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/
commons/logging/LogFactory
at
com.hp.hpl.jena.rdf.model.impl.PropertyImpl.<clinit>(PropertyImpl.java:
61)
at
com.hp.hpl.jena.enhanced.BuiltinPersonalities.<clinit>(BuiltinPersonalities.java:
27)
at com.hp.hpl.jena.rdf.model.impl.ModelCom.<init>(ModelCom.java:51)
at
com.hp.hpl.jena.rdf.model.ModelFactory.createDefaultModel(ModelFactory.java:
125)
at
com.hp.hpl.jena.rdf.model.ModelFactory.createDefaultModel(ModelFactory.java:
119)
at
org.dspace.foresite.jena.OREResourceJena.<init>(OREResourceJena.java:
75)
at
org.dspace.foresite.jena.AggregationJena.<init>(AggregationJena.java:
77)
at org.dspace.foresite.OREFactory.createAggregation(OREFactory.java:
77)
Reply all
Reply to author
Forward
0 new messages