具体报错:Ambiguous field mapping detected! Both private java.lang.String com.e.ead.entity.BusinessEntity.name and @com.e.ead.common.Meaning(value=公司名称)private java.lang.String com.e.ead.entity.Bases.name map to the same field name name! Disambiguate using @Field annotation!

 

解决方式:根据提示,找到报的哪个字段有问题(我的是 value=公司名称,即数据库中“公司名称”字段可能是模糊(敏感)字段,映射时无法匹配),把数据库中的该字段改为不敏感字段。

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-06-09
  • 2021-11-06
  • 2022-12-23
  • 2022-12-23
  • 2021-09-02
  • 2021-10-28
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-05-27
  • 2021-10-07
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案