If there is a field with default visibility ("package private") on the target side, this is not found:
public class ZooDto {
String mainAnimal;
}
Unknown property "mainAnimal" in result type org.mapstruct.ap.test.ignore.ZooDto. Did you mean "null"?
It works as expected when making that field public.