The mapping fail because introspection.getRequiredProperty(propertyName, Object.class) throws an exception if the property is of the primitive type. No property [oneId] of type [class java.lang.Object ...