随笔 - 56,  文章 - 11,  评论 - 0,  阅读 - 9947
错误异常:

org.springframework.beans.TypeMismatchException: Failed to convert property value of type ‘java.lang.String’ to required type ‘boolean’ for property ‘forceResponseEncoding’; nested exception is java.lang.IllegalArgumentException: Invalid boolean value [utf-8]

解决:

参数改为true

 

 后继错误:

java.io.UnsupportedEncodingException: The character encoding [uft-8] is not supported

 

解决:encoding 参数改为utf-8

 

 

 



posted on   初晓臻  阅读(2124)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· DeepSeek “源神”启动!「GitHub 热点速览」
· 微软正式发布.NET 10 Preview 1:开启下一代开发框架新篇章
· C# 集成 DeepSeek 模型实现 AI 私有化(本地部署与 API 调用教程)
· DeepSeek R1 简明指南:架构、训练、本地部署及硬件要求
· 2 本地部署DeepSeek模型构建本地知识库+联网搜索详细步骤
点击右上角即可分享
微信分享提示