Search Mailing List Archives


Limit search to: Subject & Body Subject Author
Sort by: Reverse Sort
Limit to: All This Week Last Week This Month Last Month
Select Date Range     through    

[protege-discussion] ModelFactory error

Neil Douglas Matatall nmatatal at uci.edu
Fri Oct 5 11:23:19 PDT 2007


Include commons-logging.jar in your 
classpath.  Download it from 
http://commons.apache.org/downloads/download_logging.cgi

At 08:11 AM 10/5/2007, Davenport, Daniel wrote:
>Content-type: multipart/alternative; 
>boundary="Boundary_(ID_9OkUzuMzMFWeDCF/6ul40A)"
>Content-class: urn:content-classes:message
>
>I ran my code with the class generated by 
>Protégé for my ontology and got this messge
>
>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:28)
>       at com.hp.hpl.jena.rdf.model.impl.ModelCom.<init>(ModelCom.java:51)
>       at 
> com.hp.hpl.jena.rdf.model.ModelFactory.createDefaultModel(ModelFactory.java:162)
>       at 
> com.hp.hpl.jena.rdf.model.ModelFactory.createDefaultModel(ModelFactory.java:156)
>       at 
> com.hp.hpl.jena.rdf.model.impl.ModelSpecImpl.<clinit>(ModelSpecImpl.java:56)
>       at lantern.test.<clinit>(test.java:18)
>       at lantern.Lantern.main(Lantern.java:23)
>
>I used the right libraries
>
>import com.hp.hpl.jena.rdf.model.*;
>import com.hp.hpl.jena.ontology.*;
>
>so it compiled alright.  Im running it on Eclipse.  So what am I missing?
>
>-Dan
>
>Daniel M. Davenport, PhD
>Principal Research Engineer
>Advanced Technology Office
>Lockheed Martin Information Systems & Global Services
>King of Prussia, PA
>Email: <mailto:Daniel.Davenport at lmco.com>Daniel.Davenport at lmco.com
>
>_______________________________________________
>protege-discussion mailing list
>protege-discussion at lists.stanford.edu
>https://mailman.stanford.edu/mailman/listinfo/protege-discussion
>
>Instructions for unsubscribing: 
>http://protege.stanford.edu/doc/faq.html#01a.03




More information about the protege-discussion mailing list