Fix java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory by examples

Why?

The project lack of file:commons-logging-1.2.jar file

Download this file from:http://commons.apache.org/proper/commons-logging/download_logging.cgi

and add it to your java project, it solved.

Leave a Reply

Your email address will not be published. Required fields are marked *