摘要: -XX:+HeapDumpOnOutOfMemoryError 添加 -XX:+HeapDumpOnOutOfMemoryError 启动参数,当出现 Exception in thread "main" java.lang.OutOfMemoryError: Java heap space 异常时 阅读全文
posted @ 2018-11-03 22:52 蝼蚁尚不自知 阅读(241) 评论(0) 推荐(0) 编辑
摘要: 使用hibernate validator出现上面的错误, 需要 注意 @NotNull 和 @NotEmpty 和@NotBlank 区别 @NotEmpty 用在集合类上面@NotBlank 用在String上面@NotNull 用在基本类型上 阅读全文
posted @ 2017-12-27 15:04 蝼蚁尚不自知 阅读(8616) 评论(0) 推荐(1) 编辑
摘要: api rpc 统一参数校验和异常拦截 切面 依赖jar 阅读全文
posted @ 2017-10-20 15:16 蝼蚁尚不自知 阅读(2761) 评论(0) 推荐(0) 编辑
摘要: returnRemindList.stream().collect(Collectors.groupingBy(TopicRemindSettingBO::getRemindPhone, LinkedHashMap::new, Collectors.toCollection(ArrayList::n 阅读全文
posted @ 2017-09-20 15:48 蝼蚁尚不自知 阅读(2656) 评论(0) 推荐(1) 编辑
摘要: private boolean isOrderDateArr(Date[] dateArr, int len) { return len == 1 || dateArr[len - 1].after(dateArr[len - 2]) && isOrderDateArr(dateArr, len - 1); } 阅读全文
posted @ 2017-08-18 17:03 蝼蚁尚不自知 阅读(172) 评论(0) 推荐(0) 编辑
摘要: 第一种: 阅读全文
posted @ 2017-08-10 10:04 蝼蚁尚不自知 阅读(224) 评论(0) 推荐(0) 编辑
摘要: java -version http://blog.csdn.net/u014335226/article/details/50974914 Linux 安装jdk http://www.cnblogs.com/mstk/archive/2014/08/25/3934356.html 阅读全文
posted @ 2017-07-04 10:42 蝼蚁尚不自知 阅读(516) 评论(0) 推荐(0) 编辑
摘要: win7/10 telnet 不是本地命令 dubbo>lscom.test.DemoService dubbo>ls com.test.DemoServicequeryDemoPageListinsertDemolist dubbo>invoke com.test.DemoService.quer 阅读全文
posted @ 2017-06-15 17:11 蝼蚁尚不自知 阅读(401) 评论(0) 推荐(0) 编辑
摘要: git 拉所依赖的项目生产ssh key 进入 admin@admin MINGW64 ~/.ssh$ ssh-keygen -t rsa -C "abc@abc.com"Generating public/private rsa key pair.Enter file in which to sa 阅读全文
posted @ 2017-04-01 13:34 蝼蚁尚不自知 阅读(661) 评论(0) 推荐(0) 编辑
摘要: 集群环境搭建: http://www.cnblogs.com/hjwublog/p/5681700.html http://lib.csdn.net/article/16/45369?knId=407 阅读全文
posted @ 2017-03-17 17:08 蝼蚁尚不自知 阅读(120) 评论(0) 推荐(0) 编辑