随笔分类 -  SpringBoot

摘要:https://www.pianshen.com/article/4647189492/ 这篇文章主要看不同级别的日志如何分到不同文件里面 https://www.freesion.com/article/3472980668/ 主要看XML配置文件获取APPLICATION.YML配置文件的内容 阅读全文
posted @ 2022-01-20 09:15 弓呆的胖次 阅读(154) 评论(0) 推荐(0)
摘要:https://www.jb51.net/article/211240.htm#_label1 阅读全文
posted @ 2022-01-04 08:38 弓呆的胖次 阅读(13) 评论(0) 推荐(0)
摘要:https://segmentfault.com/a/1190000020282595 阅读全文
posted @ 2021-12-16 12:06 弓呆的胖次 阅读(39) 评论(0) 推荐(0)
摘要:在application.yml文件中写入: spring: profiles: active: dev 说明:active,使用哪个配置环境,dev则application-dev.yml生效,prod则application-prod.yml生效 创建application-dev.yml文件, 阅读全文
posted @ 2021-11-24 11:56 弓呆的胖次 阅读(750) 评论(0) 推荐(0)
摘要:版本如下: 文档在这里 https://docs.spring.io/spring-boot/docs/2.1.5.RELEASE/reference/htmlsingle/ 把版本号之后的去掉,可以看所有版本的文档 主要看下面这段,是spring对静态文件的处理 # SPRING RESOURCE 阅读全文
posted @ 2021-11-12 15:34 弓呆的胖次 阅读(467) 评论(0) 推荐(0)
摘要:原来的pom文件里有这样的结构: <build> <pluginManagement><!-- lock down plugins versions to avoid using Maven defaults (may be moved to parent pom) --> <plugins> <! 阅读全文
posted @ 2021-11-11 08:17 弓呆的胖次 阅读(460) 评论(0) 推荐(1)
摘要:生产环境里可以用jar直接运行,也可以打包成war包部署到tomcat里。 https://blog.csdn.net/qq_33512843/article/details/80951741 阅读全文
posted @ 2021-11-10 16:20 弓呆的胖次 阅读(32) 评论(0) 推荐(0)
摘要:https://www.iocoder.cn/Spring-Boot/Distributed-Session/?utm_source=webpushr&utm_medium=push&utm_campaign=push-03-30%20-%20(Copy)pJ9qOnFuDO 阅读全文
posted @ 2021-03-31 10:21 弓呆的胖次 阅读(94) 评论(0) 推荐(0)
摘要:https://www.iocoder.cn/Spring-Boot/MapStruct/?utm_source=webpushr&utm_medium=push&utm_campaign=push-03-24%20-%20(Copy)mFask6MisU 阅读全文
posted @ 2021-03-26 18:13 弓呆的胖次 阅读(383) 评论(0) 推荐(0)
摘要:https://mp.weixin.qq.com/s/0_otLJG_TOYvvocdwHWBSQ 阅读全文
posted @ 2021-03-25 20:23 弓呆的胖次 阅读(77) 评论(0) 推荐(0)
摘要:https://www.iteye.com/blog/gong1208-1773177 阅读全文
posted @ 2021-03-10 18:09 弓呆的胖次 阅读(38) 评论(0) 推荐(0)
摘要:https://mp.weixin.qq.com/s/u_WnadxNix9INuB4qMMquw 阅读全文
posted @ 2021-03-03 17:55 弓呆的胖次 阅读(114) 评论(0) 推荐(0)
摘要:https://www.jianshu.com/p/89f0f8c7e769 阅读全文
posted @ 2021-03-02 22:24 弓呆的胖次 阅读(29) 评论(0) 推荐(0)
摘要:https://blog.csdn.net/nextyu/article/details/78669997 阅读全文
posted @ 2021-02-26 18:12 弓呆的胖次 阅读(65) 评论(0) 推荐(0)
摘要:https://www.jianshu.com/p/4d055a51cdbd 阅读全文
posted @ 2021-02-21 11:11 弓呆的胖次 阅读(111) 评论(0) 推荐(0)
摘要:原文地址: https://www.cnblogs.com/lvbinbin2yujie/p/10574812.html 异常处理方式一. @ExceptionHandler 异常处理方式二. 实现HandlerExceptionResolver接口 异常处理方式三. @ControllerAdvi 阅读全文
posted @ 2021-02-02 11:47 弓呆的胖次 阅读(218) 评论(0) 推荐(0)
摘要:教程 https://blog.csdn.net/sjdjjd6466446/article/details/110005937 代码 https://github.com/GoogleLLP/SuperMarket 阅读全文
posted @ 2021-01-25 15:32 弓呆的胖次 阅读(351) 评论(0) 推荐(0)
摘要:https://www.jianshu.com/p/67d3637493c7 阅读全文
posted @ 2021-01-05 10:55 弓呆的胖次 阅读(72) 评论(0) 推荐(0)
摘要:https://www.cnblogs.com/eyesfree/p/12780523.htmlimport javax.validation.Valid;import javax.validation.constraints.NotBlank;import javax.validation.con 阅读全文
posted @ 2020-12-22 20:34 弓呆的胖次 阅读(2495) 评论(0) 推荐(0)
摘要:https://blog.csdn.net/qq_32258777/article/details/86743416 https://blog.csdn.net/yufeiyanliu/article/details/81150169?utm_medium=distribute.pc_relevan 阅读全文
posted @ 2020-12-21 20:42 弓呆的胖次 阅读(82) 评论(0) 推荐(0)