![](https://img-blog.csdnimg.cn/20190918140012416.png?x-oss-process=image/resize,m_fixed,h_224,w_224)
【Spring Boot】
spring boot相关
小豆瓣的靳先生
这个作者很懒,什么都没留下…
展开
-
记一次跨域问题
CORS原创 2024-05-14 17:54:00 · 166 阅读 · 2 评论 -
SpringBoot 中常用注解@PathVaribale/@RequestParam/@GetMapping介绍
本篇博文将介绍几种如何处理url中的参数的注解@PathVaribale/@RequestParam/@GetMapping。其中,各注解的作用为:@PathVaribale 获取url中的数据;@RequestParam 获取请求参数的值;@GetMapping 组合注解,是@RequestMapping(method = RequestMethod.GET)的缩写。@PathVaribale ...转载 2018-02-23 16:20:57 · 583 阅读 · 0 评论 -
springboot的三种启动方式
一:IDE 运行Application这个类的main方法二:在springboot的应用的根目录下运行mvn spring-boot:run三:使用mvn install 生成jar后运行先到项目根目录 mvn install cd target java -jar xxxx.jar...转载 2018-03-22 19:52:45 · 1410 阅读 · 0 评论 -
spring boot中logback-spring.xml配置
<?xml version="1.0" encoding="UTF-8"?> <configuration scan="true" scanPeriod="60 seconds" debug="false"> <contextName>lkker.evaluation_service</context原创 2018-08-03 19:22:26 · 3306 阅读 · 0 评论 -
spring boot后台运行方法
QQ:2522745405,欢迎留言讨论。 spring boot后台运行方法: 除了下文中的方式,还有一个supervisor配置的方法;无论哪种方式底层都是java -jar来启动; 我们测试环境用Jenkins自动化发版; 线上用assembly打包给运维人员,assembly是根据这个博客进行编写的脚本,能直接拿过来用。 后台运行配置 1、基于软连接 ①在pom.xml中添加Sp...原创 2018-08-03 19:27:59 · 2287 阅读 · 0 评论