Cannot create a relative resource for resource loaded through InputStream
it sees like you are using
Code:
BeanFactory factory = new XmlBeanFactory(inputStream);
Using this approach, Spring can not resolve relative resource. Try something like:
Code:
Resource resource = new ClassPathResource("config/applicationContext.xml");
BeanFactory factory = new XmlBeanFactory(resource);
or
Code:
ApplicationContext context = new ClassPathXmlApplicationContext("config/applicationContext.xml");
Now... If I move the import statement ABOVE the description, I get the following error:
import must always be used after description. Spring DTD forces this order.
HTH