Unable to create a Checker: org.apache.commons.logging.LogConfigurationException

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Unable to create a Checker: org.apache.commons.logging.LogConfigurationException

JShah
This post was updated on .
I am trying to run checkstyle. And it gives me following error. Its strange....Its intermittent. For same command.

/home/jigar/.hudson/jobs/nvs-common/workspace/trunk/config/ant/build-nvs.xml:188: Unable to create a Checker: org.apache.commons.logging.LogConfigurationException: org.apache.commons.logging.LogConfigurationException: Class org.apache.commons.logging.impl.Log4JLogger does not implement Log
Reply | Threaded
Open this post in threaded view
|

Re: Unable to create a Checker: org.apache.commons.logging.LogConfigurationException

Lars Kühne-3
On Wed, Mar 31, 2010 at 3:55 PM, JShah wrote:

/home/jigar/.hudson/jobs/nvs-common/workspace/trunk/config/ant/build-nvs.xml:188:
Unable to create a Checker:
org.apache.commons.logging.LogConfigurationException:
org.apache.commons.logging.LogConfigurationException: Class
org.apache.commons.logging.impl.Log4JLogger does not implement Log


This is probably caused by multiple versions of commons-logging on the classpath, living in different class loaders, e.g. one in your Ant libraries and one in checkstyle-all.jar.

Cheers,
Lars


------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Checkstyle-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/checkstyle-user