打包项目流程 运行项目 java -jar netty-demo.jar 如果提示 no main manifest attribute in xxxx 可以应用如下命令: java -cp netty-demo.jar cn.server.ChatServer