Having received a Spring/Maven project, I:
- Ran
mvn eclipse:eclipse
on it, - Loaded it into Eclipse JEE (latest version, called Neon),
- Added the
Dynamic Web Module
facet to it, - Clicked Run Jetty on it.
PROBLEM: It does not found its own applicationContext.xml even though it is present in src/main/webapp/WEB-INF/classes/applicationContext.xml
.
16:58:58.183 [main] ERROR org.springframework.web.context.ContextLoader - Context initialization failed
org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from class path resource [applicationContext.xml]; nested exception is java.io.FileNotFoundException: class path resource [applicationContext.xml] cannot be opened because it does not exist
QUESTION: How can I tell Eclipse JEE where applicationContext.xml is, or otherwise fix this?