In the problem1 post, even if i can load the appContext.xml file using FileSystemXmlApplicationContext, I cannot load the beans defined in it.
For example,
I got the following error:Code:FileSystemXmlApplicationContext appContext= new FileSystemXmlApplicationContext("E:/workspace/com/xyz/myapplication/appContext.xml"); BeanFactory bf=(BeanFactory) appContext;
where myBean uses org.springframework.remoting.rmi.RmiProxyFactoryBe an to access the rmi serviceCode:org.springframework.beans.factory.BeanDefinitionStoreException: Error registering bean with name 'myBean' defined in file [E:/workspace/com/xyz/myapplication/appContext.xml]: Bean class [org.springframework.remoting.rmi.RmiProxyFactoryBean] not found; nested exception is java.lang.ClassNotFoundException: org.springframework.remoting.rmi.RmiProxyFactoryBean java.lang.ClassNotFoundException: org.springframework.remoting.rmi.RmiProxyFactoryBean
I have included the spring.jar into the runtime library in the plugin.xml and the into the Java Build Path as library
I use spring 1.1.1
Please help!!


Reply With Quote