|
Hi i am working on spring with jms
i faced one problem,i tried somany ways but i couldn't found the solution
when i call like this
======================
ClassPathXmlApplicationContext appContext = new ClassPathXmlApplicationContext(new String[] {
"spring-jms.xml"});
System.out.println("Classpath loaded");
JmsSender jmsSender = (JmsSender)appContext.getBean("jmsSender");
jmsSender.sendMessage();
System.out.println("Message sent using Spring JMS.");
==========================
i am getting this error,please any one help me
org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from class path resource [spring-jms.xml]; nested exception is java.io.FileNotFoundException: class path resource [spring-jms.xml] cannot be opened because it does not exist
|