以下のようなエラーに対処します。
org.modelmapper.ConfigurationException: ModelMapper configuration errors: 1) The destination property [セッター名] matches multiple source property hierarchies:
対処
ModelMapper#getConfiguration().setAmbiguityIgnored(true)
を指定することで、マップ先が曖昧な場合は無視することができます。
modelMapper = new ModelMapper(); modelMapper.getConfiguration().setAmbiguityIgnored(true);