错误异常:

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 2022-06-22 11:41  初晓臻  阅读(2027)  评论(0编辑  收藏  举报