1.这边由于我bug修复了,我就不截报错的图。

spring boot +es 整合, 启动报错 no id property found for class ...
因为存在es索引里面的实体类的主键名不是 id
spring boot +es 整合, 启动报错 no id property found for class ...
把名字换成id就可以的 (这里我封装了一个新的类来满足es需求),至于原因,本人还没有找到。我猜这个应该是可以更改的,怎么改你可以研究下。

相关文章:

  • 2022-01-01
  • 2022-12-23
  • 2021-12-12
  • 2022-12-23
  • 2022-12-23
  • 2021-11-16
  • 2021-04-18
  • 2021-11-04
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-05-26
  • 2022-12-23
  • 2021-04-14
相关资源
相似解决方案