title: Cannot import ClassPathXmlApplicationContext
body: <p>I learning Java Spring Framework by listening to
  the "Spring &amp; Hibernate for Beginners" udemy course.
  I struggled while trying to
  import <strong>org.springframework.context.support.ClassPathXmlApplicationContext</strong>;</p>
  
  <p>Eclipse shows me the error:
  <strong><em>ClassPathXmlApplicationContext cannot be resolved</em></strong></p>
  
  <p>The author of the course to which I'm listening is still not involving Maven
  (and pom.xml) because he is concentrating on
  "pure" Java and Spring in his course,
  so please don't direct me to use Maven for organizing the project.</p>
  
  <p>I added all jars from <strong>spring-framework-5.0.2.RELEASE-dist</strong> to my projects buildpath.</p>
  
  <p>The funny thing is that when i do CTRL+Shift+O Eclipse automatically imports
  the <strong>org.springframework.context.support.ClassPathXmlApplicationContext</strong> package,
  but it shows error in import line (red line under <strong>org</strong>)
  and shows an error in my main function
  on the line where I try to use context as:</p>
  
  <pre><code>ClassPathXmlApplicationContext context = 
          new ClassPathXmlApplicationContext("applicationContext.xml");
  </code></pre>
  
  <p>Please help.</p>