摘要: 如下图可见。maven在加载时,mapper中的xml文件并没有被加载到target的运行时包中。,此时会爆出bindException的异常。 解决办法: 1.在target目录下。将mapper中的xml文件复制在这里。(不建议。太麻烦) 2.在resource目录下,将mapper文件中的xn 阅读全文
posted @ 2021-07-16 19:28 时间会抹去你的痕迹 阅读(559) 评论(0) 推荐(0)