In my application I run into a problem that when a getter in a class is defaulted in an interface only (Java 8 feature), there is no Java Beans property as a result. I.e. f
A quick work-around:
try { return PropertyUtils.getProperty(bean, property); } catch (NoSuchMethodException e) { String getMethod = "get" + property.substring(0, 1).toUpperCase() + property.substring(1); return MethodUtils.invokeMethod(bean, getMethod, new Object[]{}); }