HTTP Status 500 - BindingException: Parameter 'nid' not found
报错详细:
HTTP Status 500 - Request processing failed; nested exception is org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.binding.BindingException: Parameter ‘nid’ not found. Available parameters are [arg0, nhot, param1, param2]
报错信息截图:解决方案:在dao层该方法上添加@Param(“xxx”)
相关代码截图展示:
重新启动tomcat,未报错。