@sharable handler,so can't be added or removed multiple times

@sharable handler,so can't be added or removed multiple times 1.場景             netty集成springboot出現如上報錯,像網上的事例,大部分都是沒有繼承springboot,例如下面代碼 集成springboot的代碼: 因是通過注入的方式,而不是通過new 解決方案: 增加@Sharable註解  
相關文章
相關標籤/搜索