创建Spring项目时出现以下错误

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文件放在启动文件的同目录或者放在src文件下,或者放在整个程序下,都无法解决。最后我将该文件 放入resources下就成功了。

创建Spring项目 IOException parsing XML document from class path resource [ApplicationContext.xml];

相关文章:

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