Solution of java.lang.NoClassDefFoundError: orgapache
Tutorials Shared by the Internet Community
Advertisements
Solution of java.lang.NoClassDefFoundError: orgapache
Exception in thread main java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory error or java.lang.ClassNotFoundException: org.apache.Statistics
Total Hits - 38312
Total Votes - 112 votes
Vote Up - 45 votes
Vote Down - 67 votes
Domain - javarevisited.blogspot.com
Category - JAVA/Core JAVA
Submitted By - Javin Paul
Submitted on - 2012-02-12 04:31:09
Description
Exception in thread main java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory error or java.lang.ClassNotFoundException: org.apache.commons.logging.LogFactory comes when your project of framework like Spring uses Commons logging package to abstract actuall logging library like java.uti.logging or log4j but doesn't include commons-logging.jar in classpath. here are few tips to troubleshoot and fix this issue. More detail...
Advertisements