摘要: 1、pom文件引入ehcache 2、复制jar包中ehcache-failsafe.xml 文件放在src/main/resources下。名字随意起 4、使用 //启动器 阅读全文
posted @ 2019-07-05 17:22 易行舟 阅读(492) 评论(0) 推荐(0) 编辑
摘要: 1、pom文件配置 阅读全文
posted @ 2019-07-05 17:05 易行舟 阅读(245) 评论(0) 推荐(0) 编辑
摘要: 环境: jdk1.8 springboot 2.1.6 idea devtools pom配置信息: 。 阅读全文
posted @ 2019-07-03 16:59 易行舟 阅读(182) 评论(0) 推荐(0) 编辑
摘要: 1、springboot 测试 pom文件配置信息: 阅读全文
posted @ 2019-07-02 13:58 易行舟 阅读(213) 评论(0) 推荐(0) 编辑
摘要: 方式一: 阅读全文
posted @ 2019-07-02 13:39 易行舟 阅读(1118) 评论(0) 推荐(0) 编辑
摘要: 1.创建spring boot 项目 2、pom文件配置如下: <dependencies> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactI 阅读全文
posted @ 2019-06-24 23:49 易行舟 阅读(485) 评论(0) 推荐(0) 编辑
摘要: 1.spring boot 1.x 版本 application.properties 文件中 位置在(resources下) spring.http.multipart.maxFileSize = 10Mb spring.http.multipart.maxRequestSize=100Mb 2. 阅读全文
posted @ 2019-06-20 23:59 易行舟 阅读(7893) 评论(0) 推荐(0) 编辑
摘要: //最近对网页爬虫感兴趣。下面是下载百度图片中图片 public static void getPicture(){ WebClient webClient=new WebClient(); webClient.getOptions().setCssEnabled(true); webClient. 阅读全文
posted @ 2019-06-11 13:34 易行舟 阅读(300) 评论(0) 推荐(0) 编辑
摘要: //时间秒判断var re=/^(?:19|20)[0-9][0-9]-(?:(?:0[1-9])|(?:1[0-2]))-(?:(?:[0-2][1-9])|(?:[1-3][0-1])) (?:(?:[0-2][0-3])|(?:[0-1][0-9])):[0-5][0-9]:[0-5][0-9 阅读全文
posted @ 2018-11-08 11:22 易行舟 阅读(470) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html><html><head> <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8" /> <script type="text/javascript"> window.onload = function(){ 阅读全文
posted @ 2018-10-09 11:43 易行舟 阅读(4598) 评论(0) 推荐(0) 编辑