上一页 1 ··· 78 79 80 81 82 83 84 85 86 ··· 88 下一页
摘要: 方案:在父工程中手动配置一些节点 阅读全文
posted @ 2018-06-10 22:50 lshan 阅读(239) 评论(0) 推荐(0)
摘要: 0.依赖: 1.配置。 2. 定时的任务 package com.shan.bos.service.jobs; import java.util.List; import java.util.Properties; import javax.annotation.Resource; import j 阅读全文
posted @ 2018-06-10 22:47 lshan 阅读(202) 评论(0) 推荐(0)
摘要: SpringMVC测试框架 基于RESTful风格的SpringMVC的测试,我们可以测试完整的Spring MVC流程,即从URL请求到控制器处理,再到视图渲染都可以测试。 一 MockMvcBuilder MockMvcBuilder是用来构造MockMvc的构造器,其主要有两个实现:Stand 阅读全文
posted @ 2018-06-10 13:29 lshan 阅读(871) 评论(0) 推荐(0)
摘要: 1.下载的需要的证书: sudo ./$JAVA_HOME/jre/bin/keytool -import -alias WOSt03 -keystore $JAVA_HOME/jre/lib/security/cacerts -file /home/sea/WOS-T03.UFREIGHT.COM 阅读全文
posted @ 2018-06-08 13:24 lshan 阅读(247) 评论(0) 推荐(0)
摘要: JSONObject jsonObj = JSONObject.fromObject("文本"); 参考:https://www.cnblogs.com/joahyau/p/6736637.html 阅读全文
posted @ 2018-06-01 18:00 lshan 阅读(745) 评论(2) 推荐(0)
摘要: 数据库: jpa 查询 java: 1 @Component("ediHistoryDAO") 2 public interface EdiHistoryDAO extends CrudRepository<EdiHistoryDO, Integer>{ 3 4 EdiHistoryDO findB 阅读全文
posted @ 2018-05-25 16:46 lshan 阅读(8210) 评论(0) 推荐(0)
摘要: 可以参考:http://www.cnblogs.com/lyy-2016/p/6122144.html test /** * */ package com.imooc.web.controller; import static org.springframework.test.web.servlet 阅读全文
posted @ 2018-05-23 22:49 lshan 阅读(591) 评论(0) 推荐(0)
摘要: http://www.cnblogs.com/xing901022/category/414816.html 阅读全文
posted @ 2018-05-11 18:29 lshan 阅读(112) 评论(0) 推荐(0)
摘要: 参考:https://www.cnblogs.com/xing901022/p/5978989.html 常用的静态变量 在IOUtils中还是有很多常用的一些变量的,比如换行符等等 常用方法 copy 这个方法可以拷贝流,算是这个工具类中使用最多的方法了。支持多种数据间的拷贝: copy内部使用的 阅读全文
posted @ 2018-05-11 18:16 lshan 阅读(208) 评论(0) 推荐(0)
摘要: https://blog.csdn.net/userwyh/article/details/52862216 一、MDC介绍 MDC(Mapped Diagnostic Context,映射调试上下文)是 log4j 和 logback 提供的一种方便在多线程条件下记录日志的功能。某些应用程序采用多 阅读全文
posted @ 2018-05-11 17:45 lshan 阅读(676) 评论(0) 推荐(0)
上一页 1 ··· 78 79 80 81 82 83 84 85 86 ··· 88 下一页