Servlet[springmvc]的Servlet.service()引發了具有根本原因的異常Request processing failed; nested exception is org.mybatis.spring.MyBatisSystemException:
nested exception is org.apache.ibatis.binding.BindingException: Parameter 'userCode' not found. Available parameters are [user, param1]
org.apache.ibatis.binding.BindingException: Parameter 'userCode' not found. Available parameters are [user, param1]
以上是錯誤信息
解決方案
我這邊在dao層的接口那個使用了@Param()注解,要注意@Param()只使用在