RE: [Classifier4j-devel] Error Help: NoClassDefFoundError: org/ap ache/commons/logging/Lo
Status: Beta
Brought to you by:
nicklothian
From: Nick L. <nl...@es...> - 2004-07-15 02:50:54
|
That looks correct to me. You should need JUnit in your classpath to run it. What version of Java are you using? -----Original Message----- From: Kashif [mailto:ks...@ai...] Sent: Thursday, 15 July 2004 12:07 PM To: cla...@li... Subject: [Classifier4j-devel] Error Help: NoClassDefFoundError: org/apache/commons/logging/Lo Importance: Low Hi My class has compiled fine and with out errors but when I run it I get the following error. I have included commons logging jar and junit jar files in my class path. Is there any thing else I am suppose to do. Here's my class path. .;C:\Java\Classes;C:\Java;C:\Java\JarClasses\activation.jar;C:\Java\JarClass es\mail.jar;C:\Java\src;C:\Java\Classifier4J;C:\Java\commons-logging-1.0.3.j ar;C:\Java\junit-3.8.1.jar Any suggestions: Here is the Error: Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/logging/Lo actory at net.sf.classifier4J.bayesian.WordProbability.calculateProbability(WordProbab i ty.java:167) at net.sf.classifier4J.bayesian.WordProbability.setMatchingCount(WordProbabilit y ava:138) at net.sf.classifier4J.bayesian.WordProbability.<init>(WordProbability.java:115 ) at net.sf.classifier4J.bayesian.SimpleWordsDataSource.addNonMatch(SimpleWordsDa t ource.java:107) at net.sf.classifier4J.bayesian.BayesianClassifier.teachNonMatch(BayesianClassi f r.java:269) at net.sf.classifier4J.bayesian.BayesianClassifier.teachNonMatch(BayesianClassi f r.java:218) at net.sf.classifier4J.bayesian.BayesianClassifier.teachNonMatch(BayesianClassi f r.java:190) at GetEmail.main(GetEmail.java:115) Thanks for help Kashif |