随笔 - 836  文章 - 1 评论 - 40 阅读 - 102万
< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

随笔分类 -  spring boot

上一页 1 2 3
【spring-boot】spring-boot 整合 ehcache 实现缓存机制
该文被密码保护。
posted @ 2018-12-18 18:33 lshan 阅读(153) 评论(0) 推荐(0) 编辑
spring boot 整合案例
摘要:github : https://github.com/nbfujx/springBoot-learn-demo 阅读全文
posted @ 2018-11-07 10:12 lshan 阅读(231) 评论(0) 推荐(0) 编辑
spring boot 自定义异常
摘要:1.创建一个异常: public class LdapQueryException extends Exception { private Integer code; private String message; public LdapQueryException(Integer code, St 阅读全文
posted @ 2018-10-22 14:26 lshan 阅读(176) 评论(0) 推荐(0) 编辑
springboot ssl http转Https
摘要:参考:https://www.cnblogs.com/imfjj/p/9058443.html (里面有坑) https://blog.csdn.net/l4642247/article/details/81631770 ( 这可以解决) https://blog.csdn.net/mickjous 阅读全文
posted @ 2018-09-30 16:07 lshan 阅读(898) 评论(0) 推荐(0) 编辑
docker 带参数启动 配合springboot profile
摘要:dockerfile 运行镜像: 阅读全文
posted @ 2018-09-28 12:17 lshan 阅读(2129) 评论(0) 推荐(0) 编辑
Springboot spring data jpa 多数据源的配置01
摘要:Springboot spring data jpa 多数据源的配置 (说明:这只是引入了多个数据源,他们各自管理各自的事务,并没有实现统一的事务控制) 例: user数据库 global 数据库 1 .application.properties #database edi configurati 阅读全文
posted @ 2018-09-21 17:03 lshan 阅读(196) 评论(0) 推荐(0) 编辑
springboot1.X 到2.X 的改变
摘要:参考:https://blog.csdn.net/tzs_1041218129/article/details/79514845 阅读全文
posted @ 2018-09-17 16:46 lshan 阅读(155) 评论(0) 推荐(0) 编辑
Spring-Boot devtools项目自动重启
摘要:配置#use shutdown curl -X POST -i 'http://127.0.0.1:8080/actuator/shutdown'management.endpoints.web.exposure.include=shutdownmanagement.endpoint.shutdow 阅读全文
posted @ 2018-09-17 11:07 lshan 阅读(210) 评论(0) 推荐(0) 编辑
springboot 默认错误处理--自定义
摘要:1.在resoures下创建resoures/error文件夹 在其中自定义:404.html 403.html 500.html 阅读全文
posted @ 2018-09-02 20:36 lshan 阅读(211) 评论(0) 推荐(0) 编辑

上一页 1 2 3
点击右上角即可分享
微信分享提示