I'm using Spring's dependency injection but I'm running into difficulty loading a resource in my spring config file.
The resource is an XML file and its in a jar file on my classpath. I try to access it as follows;
<import resource="classpath:com/config/resources.xml" />
however I keep geting error;
Failed to import bean definitions from URL location [classpath:com/config/resources.xml]
The jar file is on the classpath of a Java project which is in turn used by my web app. Should I really be doing my spring configuration in the web project as opposed the java project or does that matter?