随笔分类 -  SpringBoot相关

摘要:使用@Value注入map、List 实体类 @Value("#{'${list}'.split(',')}") private List<String> list; @Value("#{${maps}}") private Map<String,String> maps; 配置文件 list: t 阅读全文
posted @ 2021-08-18 16:11 尐鱼儿 阅读(1255) 评论(0) 推荐(0)
摘要:https://blog.csdn.net/qq_39415129/article/details/106097496 阅读全文
posted @ 2020-11-02 09:28 尐鱼儿 阅读(963) 评论(0) 推荐(0)
摘要:链接:https://www.jianshu.com/p/836d455663da 初建一个简单的spring boot 项目,启动后会报错。 Exception encountered during context initialization - cancelling refresh attem 阅读全文
posted @ 2020-10-11 20:40 尐鱼儿 阅读(902) 评论(0) 推荐(0)
摘要:https://zhuanlan.zhihu.com/p/98846869 阅读全文
posted @ 2020-10-11 19:16 尐鱼儿 阅读(393) 评论(0) 推荐(0)
摘要:https://www.epubit.com/bookDetails?id=N27915 阅读全文
posted @ 2020-10-10 14:42 尐鱼儿 阅读(339) 评论(0) 推荐(0)
摘要:https://docs.spring.io/spring-boot/docs/current-SNAPSHOT/reference/htmlsingle/#aappendix 阅读全文
posted @ 2020-10-10 14:39 尐鱼儿 阅读(308) 评论(0) 推荐(0)
摘要:https://blog.csdn.net/hp_yangpeng/article/details/88803911?utm_medium=distribute.pc_relevant_download.none-task-blog-searchfrombaidu-18.nonecase&depth 阅读全文
posted @ 2020-10-10 14:25 尐鱼儿 阅读(555) 评论(0) 推荐(0)
摘要:https://blog.csdn.net/m0_37897396/article/details/81772742 阅读全文
posted @ 2020-10-10 12:40 尐鱼儿 阅读(645) 评论(0) 推荐(0)
摘要:https://www.jb51.net/article/111066.htm 阅读全文
posted @ 2020-08-20 14:47 尐鱼儿 阅读(1905) 评论(0) 推荐(0)
摘要:https://blog.csdn.net/u011314442/article/details/82188593?utm_medium=distribute.pc_relevant_download.none-task-blog-baidujs-2.nonecase&depth_1-utm_sou 阅读全文
posted @ 2020-08-20 14:45 尐鱼儿 阅读(639) 评论(0) 推荐(0)
摘要:@Component @Data @ConfigurationProperties(prefix = "person") public class Person{ private String id; private String name; } } @ConfigurationProperties 阅读全文
posted @ 2020-08-20 14:44 尐鱼儿 阅读(2147) 评论(0) 推荐(0)
摘要:https://blog.csdn.net/chengkui1990/article/details/79866499 阅读全文
posted @ 2020-08-20 14:42 尐鱼儿 阅读(754) 评论(0) 推荐(0)
摘要:https://www.jianshu.com/p/f6ec46bd34a2 阅读全文
posted @ 2020-08-15 11:45 尐鱼儿 阅读(111) 评论(0) 推荐(0)
摘要:https://www.cnblogs.com/chongaizhen/p/11151892.html 阅读全文
posted @ 2020-08-15 11:43 尐鱼儿 阅读(137) 评论(0) 推荐(0)
摘要:https://www.cnblogs.com/ldy-blogs/p/8550406.html 阅读全文
posted @ 2020-08-15 11:41 尐鱼儿 阅读(81) 评论(0) 推荐(0)
摘要:https://blog.csdn.net/qq_38417983/article/details/81128299 阅读全文
posted @ 2020-08-15 11:40 尐鱼儿 阅读(143) 评论(0) 推荐(0)
摘要:https://blog.csdn.net/ruananqing/article/details/83099180 阅读全文
posted @ 2020-06-24 09:54 尐鱼儿 阅读(1079) 评论(0) 推荐(0)
摘要:事务管理是应用系统开发中必不可少的一部分。Spring 为事务管理提供了丰富的功能支持。Spring 事务管理分为编程式和声明式的两种方式。编程式事务指的是通过编码方式实现事务;声明式事务基于 AOP,将具体业务逻辑与事务处理解耦。声明式事务管理使业务代码逻辑不受污染, 因此在实际使用中声明式事务用 阅读全文
posted @ 2018-12-04 17:21 尐鱼儿 阅读(987) 评论(0) 推荐(0)
摘要:本篇博文将介绍几种如何处理url中的参数的注解@PathVaribale/@RequestParam/@GetMapping。 其中,各注解的作用为: @PathVaribale 获取url中的数据 @RequestParam 获取请求参数的值 @GetMapping 组合注解,是@RequestM 阅读全文
posted @ 2018-12-04 15:33 尐鱼儿 阅读(494) 评论(0) 推荐(0)