摘要: 经仔细分析,是因为在创建socket失败的时候,shutdown了所属的EventLoopGroup所致,调整为shutdownGracefully(),问题即解决。 阅读全文
posted @ 2017-03-17 14:23 zhjh256 阅读(5520) 评论(0) 推荐(0) 编辑
摘要: 在 Spring 中为 javabean 注入属性文件中的属性值一般人都知道的,可以通过 org.springframework.beans.factory.config.PropertyPlaceholderConfigurer 引入一个属性文件,然后给 bean 指定属性的时候就可以用 ${jd 阅读全文
posted @ 2017-03-17 09:14 zhjh256 阅读(3044) 评论(0) 推荐(0) 编辑