Idea像eclipse那样配置spring的时候,报错
原因是,IDEA没有加载你的Spring.xml文件进去编译后的目录
解决方法很简单,只需要把配置文件放到IDEA默认的资源文件夹内即可完成加载。
IDEA中Spring配置错误:class path resource [.xml] cannot be opened because it does not exist
最新推荐文章于 2025-05-22 15:27:04 发布
Idea像eclipse那样配置spring的时候,报错
原因是,IDEA没有加载你的Spring.xml文件进去编译后的目录
解决方法很简单,只需要把配置文件放到IDEA默认的资源文件夹内即可完成加载。