Skip to content

Field with default visibility not found #1689

@gunnarmorling

Description

@gunnarmorling

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.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions