摘要:
项目中用了netty框架,自定义了解码器,由于没有结束符,导致了channelRead0一直不会执行。既然不会被动触发,那就需要主动触发。不过主动触发的是 channelRead,不是channelRead0,这点需要注意,netty提供的方法就是fireChannelRead 。有两种写法:1:c 阅读全文
posted @ 2022-05-07 11:15
会飞的猪仔
阅读(3910)
评论(1)
推荐(1)
摘要:
报错内容为 Cannot resolve constructor ‘ServletRegistrationBean(com.bstek.ureport.console.UReportServlet, java.lang.String)’ 再pom.xml中添加依赖 <dependency> <gro 阅读全文
posted @ 2022-05-07 11:07
会飞的猪仔
阅读(922)
评论(0)
推荐(0)

浙公网安备 33010602011771号