org.eclipse.jetty.io.EofException

 


sse问题记录

 

 

 

java.lang.IllegalStateException: Calling [asyncError()] is not valid for a request with Async state 

问题的相关描述看这里

https://github.com/spring-projects/spring-boot/issues/15057

里面有建议的暂行解决方案是降级tomcat

也可以使用jetty替换

去除tomcat的依赖

  <dependencies>
        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-web</artifactId>
            <exclusions>
        <exclusion>
            <artifactId>spring-boot-starter-tomcat</artifactId>
            <groupId>org.springframework.boot</groupId>
        </exclusion>
    </exclusions>
        </dependency>
<dependency>
    <groupId>org.springframework.boot</groupId>
    <artifactId>spring-boot-starter-jetty</artifactId>
</dependency>

相关文章:

  • 2022-12-23
  • 2021-05-23
猜你喜欢
  • 2022-01-07
  • 2021-07-28
  • 2021-11-12
相关资源
相似解决方案