随笔分类 -  Spring boot

摘要:1、schedule 注解定时器 阅读全文
posted @ 2019-08-28 14:39 易行舟 阅读(444) 评论(0) 推荐(0)
摘要:JPA(Java Persistence API)是一种Java持久化解决方案,负责把数据保存到数据库,实际上它就是一种标准、规范,而不是具体的实现。JPA属于重量级的,因为它需要运行在JAVA EE容器中,而Spring Data JPA提供了轻量级的实现,在任何servlet容器中都可以运行。 阅读全文
posted @ 2019-08-28 12:40 易行舟 阅读(310) 评论(0) 推荐(0)
摘要:pom配置 依次输入: D:\application\redis>redis-cli.exe 127.0.0.1:6379> shutdown not connected> exit​​​ 再次 redis-server.exe redis.windows.conf 启动 配置: 阅读全文
posted @ 2019-07-09 14:37 易行舟 阅读(2051) 评论(0) 推荐(0)
摘要:1、pom文件引入ehcache 2、复制jar包中ehcache-failsafe.xml 文件放在src/main/resources下。名字随意起 4、使用 //启动器 阅读全文
posted @ 2019-07-05 17:22 易行舟 阅读(501) 评论(0) 推荐(0)
摘要:1、pom文件配置 阅读全文
posted @ 2019-07-05 17:05 易行舟 阅读(254) 评论(0) 推荐(0)
摘要:环境: jdk1.8 springboot 2.1.6 idea devtools pom配置信息: 。 阅读全文
posted @ 2019-07-03 16:59 易行舟 阅读(189) 评论(0) 推荐(0)
摘要:1、springboot 测试 pom文件配置信息: 阅读全文
posted @ 2019-07-02 13:58 易行舟 阅读(219) 评论(0) 推荐(0)
摘要:方式一: 阅读全文
posted @ 2019-07-02 13:39 易行舟 阅读(1146) 评论(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 易行舟 阅读(501) 评论(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 易行舟 阅读(7931) 评论(0) 推荐(0)