org.springframework.beans.NotReadablePropertyException: Invalid property 'entries.reason' of bean class [my.company.data.SDROrder]: Bean property 'entries.reason' is not readable or has an invalid getter method: Does the return type of the getter match the parameter type of the setter?
Just to clarify. The problem is I try to rejectValue on object that has Collection of objects where each element has specific attribute at Runtime but has not it at Compile time. Spring uses Bean's properties to resolve these fields and can't find inherited attribute. The question is: can I explain Spring to resolve inherited fields somehow?