报错详细信息如下:
org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from class path resource [config/spring/applicationContext.xml]; nested exception is java.io.FileNotFoundException: class path resource [config/spring/applicationContext.xml] cannot be opened because it does not exist
实际上存在applicationContext.xml文件,可以在pom.xml添加以下内容解决:
<resource>
<directory>src/main/resources</directory>
<includes>
<include>**/*.xml</include>
<include>*.properties</include>
<include>**/*.properties</include>
</includes>
</resource>