title: java.lang.NoClassDefFoundError: Could not initialize class org.apache.commons.logging.LogFactory
body: <p>I am new to Google App Engine. I am getting this error : </p>
  
  <pre><code>java.lang.NoClassDefFoundError: Could not initialize class 
                    org.apache.commons.logging.LogFactory at
  org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:282) at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:106) at 
  org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:548) at 
  org.mortbay.jetty.servlet.Context.startContext(Context.java:136) at ...
  </code></pre>
  
  <p>I have added slf4j dependencies and excluded commons-logging in spring-context dependency but still getting this error. The app works perfectly fine on my local machine but gives me this error when deployed to the App Engine.</p>