Solution of java.lang.NoClassDefFoundError: orgapache

Tutorials Shared by the Internet Community

Advertisements


Synopsis

Exception in thread main java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory error or java.lang.ClassNotFoundException: org.apache.

Statistics

  • Total Hits - 20665

  • Total Votes - 102 votes

  • Vote Up - 42 votes

  • Vote Down - 60 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. ...


Site  |   Broken  |   Tweet  |   Facebook  |     |   Save  |   Liked  |   Down

Advertisements