Hi Daniel,

Daniel Guryca wrote:

I have just fully installed Eclipse 4.4 + wtp + ClickIDE.
I created my project according to a tutorial.


Which tutorial were you working from?


Later I tried J2EE Preview server which is presented in Eclipse.

I'm getting error like this:
org.apache.commons.logging.LogConfigurationException:
No suitable Log constructor [Ljava.lang.Class;@8c4a77 for
org.apache.commons.logging.impl.Log4JLogger (Caused by
java.lang.NoClassDefFoundError: org/apache/log4j/Category)


For some reason your application is looking for the log4j framework. Not sure why because Click does not depend on it. Perhaps you are using Cayenne which depends on both commons-logging and log4j?

Anyway to resolve the error above you need to include log4j library on your classpath.

If you are familiar with Eclipse ignore the rest of this mail, otherwise:

Download log4j from http://logging.apache.org/log4j/1.2/download.html and place the log4j-x.x.x.jar under your project folder WebContent\WEB-INF\lib

Eclipse should pickup the new library automatically. If it does not simply refresh your project (F5).

Let us know how it goes.

kind regards

bob


Reply via email to