明明是同一个类,在反序列时报类型转换错误,真实奇怪。经查找资料,说是引入了devtools的缘故。

注释掉以下内容:

<dependency>
    <groupId>org.springframework.boot</groupId>
    <artifactId>spring-boot-devtools</artifactId>
</dependency>

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-09-17
  • 2021-06-06
  • 2021-06-08
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-06-16
  • 2021-12-13
  • 2021-06-26
  • 2022-01-19
  • 2022-12-23
相关资源
相似解决方案