Error: Exception in thread "main" org.springframework.beans.factory.BeanDefinitionStoreException
Well what you could do is put your bean xml file outside your package since frameword is looking it inside package.
path
ApplicationContext context = new ClassPathXmlApplicationContext("src/main/resources/beans.xml");
Else give path inside package example
Well what you could do is put your bean xml file outside your package since frameword is looking it inside package.
path
ApplicationContext context = new ClassPathXmlApplicationContext("src/main/resources/beans.xml");
Else give path inside package example
No comments:
Post a Comment