DebugTools icon indicating copy to clipboard operation
DebugTools copied to clipboard

类属性热重载问题

Open flyer-gd opened this issue 1 month ago • 2 comments

描述bug内容 idea中运行springBoot4,在接口返回的类中增加字段或删除字段,触发热重载后,最终接口返回的json数据错误,非预期效果! 版本信息

  • DebugTools版本: [5.3.1]
  • bug中间件的版本: [SpringBoot:4.0.8] [jackson-core:3.1.5] 日志信息
堆栈内容

如何复现

  1. 创建SpringBoot:4.0.8项目,正常创建@RestController接口,返回对象类型, 运行项目
  2. 增加字段
  3. 接口返回数据非预期效果

复现demo文件

flyer-gd avatar Oct 29 '26 08:10 flyer-gd

这是个问题,jackson3+版本之后包路径变了,兼容一下

future0923 avatar Oct 30 '26 00:10 future0923

升级5.4.0

future0923 avatar Oct 30 '26 01:10 future0923