title: android imported spring jar occurs NoClassDefFoundError error?
body: <p>I had imported <code>spring-2.5.6.jar</code> and <code>spring-webmvc-2.5.6.jar</code> by</p>
  
  <blockquote>
    <p><code>Build Path</code>-><code>Configure Build Path</code>-><code>Add Library</code>-><code>User library</code>-><code>New</code>->...-><code>Add Jars</code></p>
  </blockquote>
  
  <p><code>NoClassDefFoundError</code> occurs. Java code:</p>
  
  <pre><code>ApplicationContext applicationContext = new ClassPathXmlApplicationContext(   
              "invoker-client.xml");  
  </code></pre>
  
  <p>Error message:</p>
  
  <blockquote>
    <p><code>11-16 07:11:57.685: ERROR/AndroidRuntime(1555): java.lang.NoClassDefFoundError: org.springframework.context.support.ClassPathXmlApplicationContext</code></p>
  </blockquote>
  
  <p>I had tried to create a new folder "libs" in the project, and <code>Build Path -&gt; Use as Source Folder</code>, but it can't compile, or by putting jar files under "assets" folder:
  <code>Project -&gt; Clean -&gt; ...</code></p>
  
  <p>But none of these work. Could anyone suggest me a solution, please?</p>