My favorites | Sign in
Project Home Downloads Wiki Issues Source
New issue   Search
  Advanced search   Search tips   Subscriptions
Issue 1238: App Engine SDK contains crippled commons-logging
140 people starred this issue and may be notified of changes. Back to list
Status:  Fixed
Owner:  ----
Closed:  May 2009

Sign in to add a comment
Reported by, Apr 9, 2009
App Engine SDK contains crippled commons-logging-1.1.1.jar which does not
contain or.apache.commons.logging.* classes, but this jar overwrites user
supplied commons-logging-1.1.1.jar from WEB-INF/lib, resulting to
java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory.

SDK should either supply valid commons logging jar or choose another name.
Apr 21, 2009
Met the same problem.
Uncaught exception from servlet
java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory
	at org.springframework.web.context.ContextLoader.<clinit>(
	at org.mortbay.jetty.handler.ContextHandler.startContext(
Apr 21, 2009
I get the same issue.  I just set maven to use commons-logging 1.1 instead of 1.1.1
works as a workaround.
Apr 21, 2009
Solution is simple: put commongs logging into WEB-INF/lib with
different name (commons-logging.jar).
Apr 21, 2009
(No comment was entered for this change.)
Status: Accepted
Labels: b1693560
May 13, 2009
(No comment was entered for this change.)
Status: Fixed
Oct 22, 2010
There is another one issue related to this:
If you have set
in, than will you get the following
org.apache.commons.logging.LogConfigurationException: User-specified log class 'org.apache.commons.logging.impl.Log4JLogger' cannot be found or is not useable.

The workaround is just to leave empty (Log4J will be used by default, if there is log4j.jar in the classpath).

Sign in to add a comment

Powered by Google Project Hosting