Hi,
Stacktrace:
Here is my ejb-jar.xml entriesCode:Caused by: javax.ejb.EJBException: Error in ejbCreate:: org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from class path resource [beanRefContext.xml]; nested exception is java.io.FileNotFoundException: class path resource [beanRefContext.xml] cannot be opened because it does not exist java.io.FileNotFoundException: class path resource [beanRefContext.xml] cannot be opened because it does not exist
beanRefContext.xml is present my EJBModule.jar when i do a build. While one applicationContext.xml is in WEB-INF folder.Code:<env-entry> <env-entry-name>ejb/BeanFactoryPath</env-entry-name> <env-entry-type>java.lang.String</env-entry-type> <env-entry-value>beanRefContext.xml</env-entry-value> </env-entry>
I understand that beanRefContext.xml is not in Classpath so it is giving FileNotFoundException. So what are the ways to resolve this issue.
thanks
Chintan


Reply With Quote