ModelMapper: matches multiple source property hierarchies

后端 未结 4 940
孤城傲影
孤城傲影 2021-02-18 16:06

I cannot resolve modelMapper error. Do you have any ideas where is the issue?

NB: In view java.sql.Time doesn\'t have non-argument constructor I didn\'t find the better

4条回答
  •  闹比i
    闹比i (楼主)
    2021-02-18 16:41

    try modelMapper.getConfiguration().setMatchingStrategy(MatchingStrategies.STRICT)

提交回复
热议问题