org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML
document from class path resource [com/test/controller];
nested exception is java.io.FileNotFoundException:class path resource [com/test/controller] cannot be opened because it does not exist
解释:没有找配置文件为controller的xml,要确保路径写对,文件名写对。
<init-param>
<param-name>contextConfigLocation</param-name>
<param-value>classpath:com/test/controller/config/springApplication.xml</param-value>
</init-param>