1. org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from ServletContext resource [/WEB-INF/dispatcher-servlet.xml]; nested exception is java.io.FileNotFoundException: Could not open ServletContext resource [/WEB-INF/dispatcher-servlet.xml]
  1. Caused by: java.io.FileNotFoundException: Could not open ServletContext resource [/WEB-INF/dispatcher-servlet.xml]

如果修改了idea默认的springMVC的配置文件,则会出现此错误,如果自己重新设置配置文件的位置,很有可能弄错了param-name,如下:

springMVC:java.io.FileNotFoundException: Could not open ServletContext resource
取值有:应该用contextConfigLocation
springMVC:java.io.FileNotFoundException: Could not open ServletContext resource




相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-05-30
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-09-12
猜你喜欢
  • 2021-11-03
  • 2021-11-28
  • 2022-12-23
  • 2022-12-23
  • 2021-08-26
  • 2021-12-09
  • 2022-12-23
相关资源
相似解决方案