今天再调试springboot项目的时候,报了下面这个错误springboot项目报Data too long for column “xxx“ at row 1错误
意思说对于这一行来说,数据太长了。然后我们找到数据库的字段,springboot项目报Data too long for column “xxx“ at row 1错误
发现这个字段的长度只有100,然而我们接受到的字符串长度超过了这个长度,所以把长度改成500,差不多就可以了。
springboot项目报Data too long for column “xxx“ at row 1错误
项目再从新运行一下,问题就解决了!!!

相关文章:

  • 2022-12-23
  • 2021-05-21
  • 2021-08-11
  • 2021-10-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-12-09
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-09-20
  • 2021-09-06
  • 2021-11-30
相关资源
相似解决方案