title: Spring: cannot import library
body: <p>i am new to Spring and went out to learn Spring tutorials from <a href="http://www.mkyong.com/tutorials/spring-tutorials/" rel="nofollow">here</a> using Eclipse.</p>
  
  <p>But, in Eclipse i cannot import these two libraries</p>
  
  <pre><code>import org.springframework.context.ApplicationContext;
  
  import org.springframework.context.support.ClassPathXmlApplicationContext;
  </code></pre>
  
  <p>I even downloaded the Spring source files from the Spring site, included it in the system library, added it in my project and also in the lib folder of my project but no in vain.</p>
  
  <p>Can you help me out to know where exactly is the problem and suggest me some good Spring tutorials sites please.</p>
  
  <p>Thank you all</p>
  
  <p><strong>EDIT</strong> </p>
  
  <p>Here is the exception</p>
  
  <pre><code>Exception in thread "main" java.lang.Error: Unresolved compilation problems: 
      ApplicationContext cannot be resolved to a type
      ClassPathApplicationContext cannot be resolved to a type
  
      at com.test.App.main(App.java:12)
  </code></pre>