您的位置: 首页 > 文章 > web.xml加载spring和mybatis文件,但是找不到spring.xml文件 web.xml加载spring和mybatis文件,但是找不到spring.xml文件 分类: 文章 • 2023-04-06 15:39:23 错误显示: web.xml文件: 项目文件路径: 解决方法: 主要是因为resource文件在普通文件夹下,新建一个src/main/resources文件,把配置文件放进resources文件夹下,就可以了。 日常坑自己的我,只能慢慢来。