Issue
i am new to Spring and went out to learn Spring tutorials from here using Eclipse.
But, in Eclipse i cannot import these two libraries
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;
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.
Can you help me out to know where exactly is the problem and suggest me some good Spring tutorials sites please.
Thank you all
EDIT
Here is the exception
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)
Solution
Finally got it. My mistake, i was using jars from the src folder and making it as a user library but the correct way is to use the jars from the dist folder.
Thank you guys for your answers. :)
Answered By - sameer
Answer Checked By - Dawn Plyler (JavaFixing Volunteer)