Spring cloud 带有Spring Boot 2.3.0的Hoxton.SR6会导致内容类型问题
当我将Spring Boot 2.3.0.RELEASE应用程序从Hoxton.SR4更新为Hoxton.SR6(唯一的更改)时,我开始面临来自不同端点的内容类型的奇怪问题 例如,对于Hoxton.SR4,任何未经授权的端点都会返回以下错误:Spring cloud 带有Spring Boot 2.3.0的Hoxton.SR6会导致内容类型问题,spring-cloud,Spring Cloud,当我将Spring Boot 2.3.0.RELEASE应用程序从Hoxton.SR4更新为Hoxton.SR6(唯一的更改)时,我开始面临来自不同端点的内容类型的奇怪问题 例如,对于Hoxton.SR4,任何未经授权的端点都会返回以下错误: { "error": "unauthorized", "error_description": "Full authentication is required to acc
{
"error": "unauthorized",
"error_description": "Full authentication is required to access this resource"
}
Hoxton.SR6中的相同授权服务器错误以XML形式出现
<UnauthorizedException>
<error>unauthorized</error>
<error_description>Full authentication is required to access this resource</error_description>
</UnauthorizedException>
未经授权
访问此资源需要完全身份验证
许多其他端点以XML而不是application/json返回内容
有人能帮助修复Spring Cloud Hoxton.SR6的默认内容类型吗?与此类似的内容类型看起来是重复的