java.lang.IllegalArgumentException: Parameter Maps collection does not contain value for com.fhw.demo.entity.Monk
时间: 2023-11-27 14:18:30 浏览: 73
如何解决Mybatis--java.lang.IllegalArgumentException: Result Maps collection already contains value for X
This exception is thrown when a required parameter is missing while executing a SQL statement. In this case, the error message suggests that the parameter map used to execute the SQL statement does not contain a value for the "com.fhw.demo.entity.Monk" parameter.
To resolve this issue, you need to ensure that the parameter map contains all the required parameters and their corresponding values. You may also need to check if the parameter name matches the parameter name used in the SQL statement.
阅读全文