ReflectionException: there is no setter for property named

Project scene:

Tip: Here is a brief description of the project related background:
For example: Project scene: Problems encountered in java development


Problem Description:

Tip: Here is a description of the problems encountered in the project:
For example, data is lost from time to time during data transmission, and occasionally a part of the data will be lost
. The code for receiving data in the APP:

Insert picture description here


Cause Analysis:

Tip: The reflection in mybatis uses the set and get methods. If the property name configured in mybatis is inconsistent with the property name in the object, then mybatis will use the set method through the property attribute and there is no corresponding set method in the object

Insert picture description here
Insert picture description here


solution:

Tip: Global search in IDEA

Guess you like

Origin blog.csdn.net/c_v_sCtrl/article/details/115351084