Mybatis Invalid bound statement (not found):.....问题
org.apache.ibatis.binding.BindingException:Invalidboundstatement(notfound):com.mogo.mapper.LossesAreCKDetailMapper.insert
atorg.apache.ibatis.binding.MapperMethod$SqlCommand.<init>(MapperMethod.java:184)
atorg.apache.ibatis.binding.MapperMethod.<init>(MapperMethod.java:38)
atorg.apache.ibatis.binding.MapperProxy.cachedMapperMethod(MapperProxy.java:49)
atorg.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:42)
atcom.sun.proxy.$Proxy80.insert(UnknownSource)
atcom.mogo.service.impl.LossesAreServiceImpl.lossesAreCheckOut(LossesAreServiceImpl.java:166)
atcom.mogo.service.impl.LossesAreServiceImpl$$FastClassByCGLIB$$9f90d050.invoke(<generated>)
atorg.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
atorg.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:701)
此情况是由于Mapper.xml配置文件中namespace文件位置写错导致的,特此记录!