Thursday, July 3, 2014

java.lang.NoClassDefFoundError: Lorg/apache/commons/logging/Log

Please ensure that you have included standred.jar in classpath. Click here to download  standred.jar - See more at: http://makecodeeasy.blogspot.in/2014/07/javautilconcurrentexecutionexception.html#sthash.0Um7PGLr.dpuf
Exception :- java.lang.NoClassDefFoundError: Lorg/apache/commons/logging/Log

First ensure that you have included commons-logging-xxx.jar in classpath.
Click here to download 
commons-logging-xxx.jar

If you are using maven then add following dependency in pom.xml
<dependency> 
    <groupId>commons-logging</groupId> 
    <artifactId>commons-logging</artifactId> 
    <version>1.1.1</version> 
</dependency>
The Commons Logging provides a Log interface that is intended to be both light-weight and an independent abstraction of other logging toolkits. It provides the middleware/tooling developer with a simple logging abstraction, that allows the user (application developer) to plug in a specific logging implementation.

2 comments:

  1. Superb. I really enjoyed very much with this article here. Really it is an amazing article I had ever read. I hope it will help a lot for all. Thank you so much for this amazing posts and please keep update like this excellent article.thank you for sharing such a great blog with us. expecting for your..
    Vmware Training in Chennai

    ReplyDelete

ShareThis