HTTP Status 500 - Request processing failed; nested exception is org.mybatis.spring.MyBatisSystemExc
2017-09-27 14:38
645 查看
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 'parentid' in 'class java.lang.Integer'
There is no getter for property named 'parentid' in 'class java.lang.Integer'解决方法1:
将参数名(上面的例子为’parentid’)替换为”_parameter”
解决方法2:
Dao层接口方法的参数声明加上@Param("parentid")
如:List<PmClassify> getPmClassifyList(@Param(value = "[b]parentid") Integer
parentid);
[/b]
相关文章推荐
- HTTP Status 500 - Request processing failed; nested exception is org.mybatis.spring.MyBatisSystemExc
- HTTP Status 500 - Request processing failed; nested exception is org.mybatis.spring.MyBatisSystemExc
- HTTP Status 500 - Request processing failed; nested exception is org.springframework.jdbc.BadSqlGram
- HTTP Status 500 - Request processing failed; nested exception is org.springframework.jdbc.BadSqlGram
- Request processing failed; nested exception is org.mybatis.spring.MyBatisSystemException: nested exc
- Request processing failed; nested exception is org.mybatis.spring.MyBatisSystemException: nested exc
- HTTP Status 500 - Request processing failed; nested exception is org.apache.ibatis.binding.BindingException
- 问题3:HTTP Status 500 - Request processing failed; nested exception is org.apache.ibatis.binding
- Requestprocessing failed; nested exception isorg.mybatis.spring.MyBatisSystemException
- HTTP Status 500 - Request processing failed; nested exception is org.apache.ibatis.binding.BindingEx
- HTTP Status 500 - Request processing failed; nested exception is org.apache.ibatis.binding.BindingException: Invalid bound statement (not found)
- 错误:严重: Servlet.service() for servlet [appServlet] in context with path [] threw exception [Request processing failed; nested exception is org.mybatis.spring.MyBatisSystemException: nested exception is
- - Request processing failed; nested exception isorg.mybatis.spring.MyBatisSystemException
- HTTP Status 500 - Request processing failed; nested exception is org.hibernate.exception.GenericJDBC
- HTTP Status 500 - Request processing failed; nested exception is java.lang.NullPointerException
- HTTP Status 500 - Request processing failed; nested exception is java.lang.IllegalArgumentException:
- JBWEB000065: HTTP Status 500 - Request processing failed; nested exception is javax.ejb.EJBException
- HTTP Status 500 - Request processing failed; nested exception is java.lang.NullPointerException
- HTTP Status 500 - Request processing failed; nested exception is com.alibaba.dubbo.rpc.RpcException
- HTTP Status 500 - Request processing failed; nested exception is java.lang.NullPointerException