MyBatis Invalid bound statement (not found)错误

最近打算将springboot项目部署到服务器上出现的问题: 在eclipse中执行时没有错 用maven打包以后运行就报Invalid bound statement (not found)的错误 后面发现 是因为ide里面要把xml配置文件放在resource中才能识别 因此只要在resource下建一个同名文件夹 并把xml移过来重新 maven clean 再maven insall即可
相关文章
相关标签/搜索