SpringMvc错误:HTTP Status 500 - Request processing failed; nested exception is org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.reflection.ReflectionException: There is n

时间:2016-10-21 00:58:09   收藏:0   阅读:5241
HTTP Status 500 - Request processing failed; nested exception is org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.reflection.ReflectionException: There is no getter for property named ‘ItemsCustom‘ in ‘class com.mybatis.po.ItemsQueryVo‘
<if test="ItemsCustom != null">
      <if test="itemsCustom.name != null and itemsCustom.name != ‘‘">
          name like‘%${itemsCustom.name}%‘
      </if>
  </if>

原因是因为在在xml文件中把属性

itemsCustom写成
ItemsCustom类名了

 

原文:http://www.cnblogs.com/mrluotong/p/5982792.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!