Click here to Skip to main content
15,904,416 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have a spring boot application based on reactor but it can't be launched on Window 10 although it works fine on Linux. It failed to start Netty. This application uses spring boot 2.5.13 now. This issue doesn't exist for the old spring boot 2.3.

The exception was thrown by reactor.core.publisher.BlockingSingleSubscriber.blockingGet.

Is there any config change that could fix this problem? So far, it looks to me like that this problem came from the reactor library and I can't fix by any config change.

Here is the exception stack.

Caused by: org.springframework.boot.web.server.WebServerException: Unable to start Netty at org.springframework.boot.web.embedded.netty.NettyWebServer.start( at org.springframework.boot.web.reactive.context.WebServerManager.start( at org.springframework.boot.web.reactive.context.WebServerStartStopLifecycle.start( at ... 14 common frames omitted Caused by: reactor.core.Exceptions$ReactiveException: java.lang.InterruptedException at reactor.core.Exceptions.propagate( at reactor.core.publisher.BlockingSingleSubscriber.blockingGet( at reactor.core.publisher.Mono.block( at reactor.netty.transport.ServerTransport.bindNow( at reactor.netty.transport.ServerTransport.bindNow( at org.springframework.boot.web.embedded.netty.NettyWebServer.startHttpServer( at org.springframework.boot.web.embedded.netty.NettyWebServer.start( ... 17 common frames omitted Suppressed: java.lang.Exception: #block has been interrupted at reactor.core.publisher.BlockingSingleSubscriber.blockingGet( ... 22 common frames omitted Caused by: java.lang.InterruptedException: null at java.base/java.util.concurrent.locks.AbstractQueuedSynchronizer.tryAcquireSharedNanos( at java.base/java.util.concurrent.CountDownLatch.await( at reactor.core.publisher.BlockingSingleSubscriber.blockingGet( ... 22 common frames omitted

What I have tried:

I have tried to run the Spring boot application on Windows 10 and Linux.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900