SpEL property-not-found message hints at non-public method/field

Issue: SPR-11535
(cherry picked from commit eeb82c4)