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

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类名了

 

posted on 2016-10-20 22:01  Lightt  阅读(1539)  评论(0编辑  收藏  举报