eclipse编译莫名bug

使用maven build启动服务,运行时候出现错误。

mybatis报绑定异常的错误:org.apache.ibatis.binding.BindingException: Invalid bound statement

但是代码本身是没有问题的(检查过一万遍):参见下图方法4,给mapper添加一行空格,maven install,服务起来了

 

 

posted @ 2019-01-04 23:52  zeroisbug  阅读(179)  评论(0编辑  收藏  举报