“nested exception is org.apache.ibatis.binding.BindingException: Parameter ‘ orgName’ not found. Available parameters are [ wxOrganizationAccount, page, param1, param2]”,
This bug was fixed for a long time and finally found.
At the beginning, I thought that the @ param annotation was not written when multiple parameters were passed in, but I found that it was not right after writing,
“nested exception is org.apache.ibatis.binding.BindingException: Parameter ‘ orgName’ not found. Available parameters are [ wxOrganizationAccount, page, param1, param2]”,
I want to add another parameter’s type field to an entity class, then save the parameter into the entity class, and then pass only one object in the process of passing the parameter. Of course, these are just my personal ideas. In the end, of course, they failed.
“nested exception is org.apache.ibatis.binding.BindingException: Parameter ‘ orgName’ not found. Available parameters are [ wxOrganizationAccount, page, param1]”,
It’s just missing a parameter, or it’s wrong. At this time, I was thinking that since it’s not the problem passed in, it might be the problem of value taking. Finally, I found that the value can’t be taken because it’s not accurate enough to get the value from the object!
Read More:
- Vue calculates attributes and passes parameters to the computed method
- An error occurs when pymysql uses% d to pass in parameters
- spring mybatis mapper Specified class is an interface
- Solution to the problem of multiple parameters when using pipeline under Linux
- Using greater than sign or less than sign to report error in mybatis
- The SSM framework adds the mybatis paging plug-in to start the error report
- Fatal error: Call to a member function bind_param() on a non-object in
- Mybatis uses step-by-step lazy loading to cause abnormal JSON conversion. The interface 500 reports an error
- Read multiple sheets of an excel file according to npoi
- After verifying parameters with validation, springboot reports an error: no constructor found in package name + class name
- Why do we not need to write implementation classes in mybatis to get the objects we need
- String index out of range: 100 error report details and Solutions
- Anaconda opens Navigator to report an error and a web page appears Navigator Error An unexpected error occurred on Navigator start-up Report
- Spring AOP uses AspectJ to report an exception that ‘the reference to the bean “mypointcut” cannot be resolved’
- When the mybatis field contains an expression, an error is reported when it is stored in the database
- Use less.js to verify and report an error in the Vue file of vscode
- Error pathvariable annotation was empty on param 0 when migrating idea to eclipse
- call to member function bind_param() on boolean………..
- Solve the problem of There was an unexpected error (type=Internal Server Error, status=500) (using Thymeleaf to report an error)
- C#: How to Use Httpclient to upload files with other parameters