今天在创建一个springmvc的项目的时候,我碰到了页面上的报错:
IOException parsing XML document from class path resource [spring-mvc.xml] because it does not exist
我学着网上的方式,把文件名搞成了spring-selvert.xml,也没啥用
直到我注意到这局报错的后半句:" from class path resource [spring-mvc.xml] because it does not exist"

resource?好像在哪里见过?

对了,它想说的是在这个resource这个位置里面不存在,那要不创建了一个试试?

于是我把直接放在/src/main下面的spring-mvc.xml,放到了/src/main/resource下面
几经调试后,就可以正常进入controller跳转页面了

给我启示的网页:
https://www.pianshen.com/article/53521742240/

报错解决:IOException parsing XML document from class path resource [spring-mvc.xml]相关推荐

  1. Line 8 in XML document from class path resource [conf/applicationContext.xml] is invalid

    @[TOC**] 错误:Line 8 in XML document from class path resource [conf/applicationContext.xml] is invalid ...

  2. 报错:IOException parsing XML document from class path resource [applicationContext.xml]; nested except

    1.出现IOException parsing XML document from class path resource [applicationContext.xml]; nested excep ...

  3. 【已解决】IOException parsing XML document from class path resource [xxx.xml]

    报错异常 IOException parsing XML document from class path resource [xxx.xml]; nested exception is java.i ...

  4. IOException parsing XML document from class path resource [applicationContent.xml]; nested exception

    Spring报错问题: IOException parsing XML document from class path resource [applicationContent.xml]; nest ...

  5. IOException parsing XML document from class path resource [xxx.xml]

    最近在idea导入项目的时候,加载xml文件失败,后台报了如下异常,xml文件没找到. org.springframework.beans.factory.BeanDefinitionStoreExc ...

  6. IOException parsing XML document from class path resource resource [com/zj/spring01/helloworld/appli

    之前学习Spring的时候一直用的Myeclipse和eclipse编辑器,将配置文件直接放进当前Project下进行加载解析就行了.但是换成IEDA以后出现了一些问题.重温Spring知识点的时候, ...

  7. SSM中maven导入jar的报错问题(Line 1 in XML document from class path resource [applicationContext.xml] is ...)

    问题描述 org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 1 in XML document f ...

  8. Unexpected exception parsing XML document from class path resource

    好记性不如赖笔头---- 今天碰到了一个问题,项目在启动时提示以下错误: org.springframework.beans.factory.BeanDefinitionStoreException: ...

  9. Unexpected exception parsing XML document from class path resource处理

    Unexpected exception parsing XML document from class path resource 异常 原因 spring-aop-4.3.6.RELEASE 包未 ...

最新文章

  1. Pascal 错误代码及含义
  2. RunTime的使用-Category改变整个项目全部字体
  3. jenkins 忘记密码_持续集成工具Jenkins 在CentOS系统下安装
  4. linux中搭建vue-cli
  5. ML之XGBoost:XGBoost参数调优的优秀外文翻译—《XGBoost中的参数调优完整指南(带python中的代码)》(一)
  6. JavaScript的键盘事件
  7. python编码和解码_Python中的编码与解码(转)
  8. 使用gdb和core dump迅速定位段错误
  9. Microsoft Visual Studio Ultimate 2013密钥
  10. python fileinput处理多文件
  11. java编译及运行过程_简述JAVA程序的编辑编译和运行过程
  12. SIMULATE ANNEAL
  13. PDF附加字体和不附加字体
  14. chromium os 编译
  15. 计算机文档排版的心得体会,排版工作心得体会(共6篇) .docx
  16. 如何在Windows下安装听云NodeJs探针
  17. php安装zend loader,PHP5.3安装Zend Guard Loader图文教程
  18. MySQL 的 Buffer Pool,终于被我搞懂了
  19. 软件定义网络 Software Defined Network (一)概述
  20. Clipper库 | 类型和填充规则

热门文章

  1. uni-app微信小程序封装一个request请求接口
  2. 图文 | 海岸TDM平台部署架构
  3. vue-element-admin 登录 / 注销 / 权限验证 篇
  4. U盘里的文件莫名损坏,copy进去的文件夹也是空的
  5. android 铃声设置失败,Android铃声设置错误
  6. AI智能多语种翻译工具批量文章翻译发布
  7. 第九章 我为什么为花荣不平
  8. 北森云计算2023校招提前批面经
  9. 在c语言中用来创建主菜单的对象是,百一测评C语言试题.docx-资源下载在线文库www.lddoc.cn...
  10. 深度体验完 MWeb 这款写作软件 ,我放弃了 Typora