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
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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)