由于自己使用的服务器配置低,上不了docker,所以本人想帮halo剥离出来,按照开发者指南中系统开发模块构建好了jar,然后java -jar 运行jar,console模式一直报用户名密码错误
错误信息如下,有人遇到吗
Error [java.lang.UnsupportedOperationException] for HTTP POST "/login", but ServerHttpResponse already committed (401 UNAUTHORIZED)
2023-03-11T16:53:05.671+08:00 ERROR 52137 --- [ctor-http-nio-2] r.n.http.server.HttpServerOperations : [f1a431ac-3, L:/[0:0:0:0:0:0:0:1]:8090 - R:/[0:0:0:0:0:0:0:1]:55338] Error finishing response. Closing connection
java.lang.UnsupportedOperationException: null
at org.springframework.http.ReadOnlyHttpHeaders.set(ReadOnlyHttpHeaders.java:107) ~[spring-web-6.0.6.jar!/:6.0.6]
Suppressed: reactor.core.publisher.FluxOnAssembly$OnAssemblyException:
Error has been observed at the following site(s):
*checkpoint ⇢ AuthenticationWebFilter [DefaultWebFilterChain]
*checkpoint ⇢ AuthenticationWebFilter [DefaultWebFilterChain]
*checkpoint ⇢ ReactorContextWebFilter [DefaultWebFilterChain]
*checkpoint ⇢ CsrfWebFilter [DefaultWebFilterChain]
*checkpoint ⇢ CorsWebFilter [DefaultWebFilterChain]
*checkpoint ⇢ HttpHeaderWriterWebFilter [DefaultWebFilterChain]
*checkpoint ⇢ ServerWebExchangeReactorContextWebFilter [DefaultWebFilterChain]
*checkpoint ⇢ org.springframework.security.web.server.WebFilterChainProxy [DefaultWebFilterChain]
*checkpoint ⇢ org.springframework.web.filter.reactive.ServerHttpObservationFilter [DefaultWebFilterChain]
*checkpoint ⇢ HTTP POST "/login" [ExceptionHandlingWebHandler]