eclipse启动时报错class path resource [mybatis-config.xml] cannot be opened because it does not exist
- 问题:
eclipse启动时报错class path resource [mybatis-config.xml] cannot be opened because it does not exist - 解决方案:
1.检查项目中mybatis-config.xml文件是否存在,检查mybatis-config.xml配置的路径是否正确
2.若1中没问题则修改编译文件路径:
选中项目,右键属性->java构建路径->源码:修改输出文件夹路径
最后清理一下项目,重启tomcat就ok了