xilele 发表于 2019-7-22 21:32:07

jeecg 3.8 start spring-config-p3.xml文件找不到

信息: Initializing Spring root WebApplicationContext
Context initialization failed
org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Failed to import bean definitions from URL location
Offending resource: file ; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from class path resource ; nested exception is java.io.FileNotFoundException: class path resource cannot be opened because it does not exist



xilele 发表于 2019-7-22 21:37:29

本帖最后由 xilele 于 2019-7-22 21:41 编辑

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 ; nested exception is java.io.FileNotFoundException: class path resource cannot be opened because it does not exist


xilele 发表于 2019-7-23 10:27:36

xilele 发表于 2019-7-22 21:37 static/image/common/back.gif
src\main\resources\spring-mvc.xml有如下内容:
       
       


莫名其妙,突然好了!
页: [1]
查看完整版本: jeecg 3.8 start spring-config-p3.xml文件找不到