在项目中引入了netty-all的4.1.94.FInal版本,但是其依赖的其他组件却是4.1.92.Final版本,如下图所示:
<properties>
<netty.version>4.1.94.Final</netty.version>
</properties>
在pom里显示引入指定版本netty
<dependency>
<groupId>io.netty</groupId>
<artifactId>netty-all</artifactId>
<version>4.1.94.Final</version>
</dependency>
先到前端的common.js中修改端口号为本机的ip: