The underlying get method uses reflection. If the name of your get method is changed, that is, the attribute is named name, and the get method to obtain name is getName1, then name1 must be used to obtain the value in el
Delete the getNamemethod and try again. If it cannot be accessed, it means that the getter method of the attribute is automatically called; otherwise, the value of the attribute should be taken directly through reflection.
The underlying get method uses reflection. If the name of your get method is changed, that is, the attribute is named name, and the get method to obtain name is getName1, then name1 must be used to obtain the value in el
The bottom layer is getName
Delete the
getName
method and try again.If it cannot be accessed, it means that the getter method of the attribute is automatically called; otherwise, the value of the attribute should be taken directly through reflection.