Javatpoint Logo

unable to run your spring 1st example with eclips.

By: mohamm*** On: Mon Sep 26 15:43:16 IST 2016     Question Reputation0 Answer Reputation0 Quiz Belt Series Points0  0Blank User
when i try to run your first example of spring "student and test class" i reseve the error Exception in thread "main" java.lang.Error: Unresolved compilation problems:
Resource cannot be resolved to a type
ClassPathResource cannot be resolved to a type
BeanFactory cannot be resolved to a type
XmlBeanFactory cannot be resolved to a type
factory cannot be resolved

at firstSpring.Test.main(Test.java:12)

package- firstSpring
SRC
inside-Student.java, Test.java, applicationContext.xml
and another folder-Reference library .jarfiles.
and JRE system library










i downloaded your jar files and imported . i created aC.xml file because eclips had not genrated.
please solve this as soon as possible.
Up0Down