信息: Initializing Spring root WebApplicationContext
[2019-07-22 21:26:23] [ERROR] [org.springframework.web.context.ContextLoader:331] Context initialization failed
org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Failed to import bean definitions from URL location [classpath:config/spring-config-p3.xml]
Offending resource: file [E:\apache-tomcat\webapps\zh\WEB-INF\classes\spring-mvc.xml]; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from class path resource [config/spring-config-p3.xml]; nested exception is java.io.FileNotFoundException: class path resource [config/spring-config-p3.xml] cannot be opened because it does not exist
src\main\resources\spring-mvc.xml有如下内容:
<!-- Jeecg 插件开发 -->
<bean class="org.jeecgframework.p3.core.utils.common.ApplicationContextUtil"></bean>
<import resource="classpath:config/spring-config-p3.xml" />
项目启动publish时,无论如何都是:
Caused by: org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from class path resource [config/spring-config-p3.xml]; nested exception is java.io.FileNotFoundException: class path resource [config/spring-config-p3.xml] cannot be opened because it does not exist