I started learning spring framework recently. I added all the spring libraries to the classpath of my project. But I am getting a import org not found error.
package com.springlearnging.springdemo;
//Getting error at this import
import org.springframework.context.support.ClassPathXmlApplicationContext;
public class HelloSpringApp {
public static void main(String[] args) {
//load spring config file
ClassPathXmlApplicationContext context = new ClassPathXmlApplicationContext("applicationContext.xml");
//retrieve bean from spring container
//call methods
//close context
}
}