Spring Boot Webflux項目啓動錯誤:NoClassDefFoundError: io/netty/channel/ChannelDuplexHandler

今天把之前寫好的web項目改成webflux項目,啓動不起來,報錯: NoClassDefFoundError: io/netty/channel/ChannelDuplexHandler 對於原web項目我只把pom中對web的依賴改爲webflux,然後把服務中的返回值改爲mono或flux類型的,還要刪除application.yml中的server.servlet.context-path
相關文章
相關標籤/搜索