IDEA项目配置及启动问题【异常】IOException parsing XML document from class path resource [xxx.xml]

17-May-2021 10:42:08.668 严重 [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.core.StandardContext.listenerStart 异常将上下文初始化事件发送到类的侦听器实例.[org.springframework.web.context.ContextLoaderListener]
    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

问题原因:ApplicationContext.xml没找到
解决方法:在设置中配置资源文件目录


设置成Resource文件

你可能感兴趣的:(IDEA项目配置及启动问题【异常】IOException parsing XML document from class path resource [xxx.xml])