1.出现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
报错:IOException parsing XML document from class path resource [applicationContext.xml]; nested except
上面这张图是我的目录,它一直说找不到applicationContext.xml文件,我就纳闷了,他一直在啊,路径没毛病啊,结果我百度了好久发现在classes在复制一个进去就可以。如图
2.解决方案
将applicationContext.xml文件放入到target—>classes包下即可
报错:IOException parsing XML document from class path resource [applicationContext.xml]; nested except

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-07-29
  • 2022-12-23
  • 2021-12-22
  • 2022-12-23
  • 2021-04-25
猜你喜欢
  • 2021-07-17
  • 2022-12-23
  • 2022-12-23
  • 2021-06-28
  • 2022-12-23
  • 2021-09-15
  • 2022-12-23
相关资源
相似解决方案