在地址栏中输入localhost:8001/xx/xx后报错:org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): top.sandee.cloud.dao.PaymentDAO.getPaymentById
解决如下:
在application.yml文件中,mybatis前面多了空格,所以报这个错
删除mybatis前的空格
运行ok