增加 transient 修饰进行解决,例如:

private  transient final DecimalFormat df = new DecimalFormat("#0.00");

 

相关文章:

  • 2022-12-23
  • 2021-04-05
  • 2021-07-04
  • 2022-02-14
  • 2022-02-07
  • 2021-08-29
  • 2022-12-23
  • 2021-12-26
猜你喜欢
  • 2021-08-07
  • 2022-12-23
  • 2021-08-24
  • 2022-01-14
  • 2021-12-27
  • 2022-12-23
相关资源
相似解决方案