
spring boot
genghaihua
这个作者很懒,什么都没留下…
展开
-
spring boot打包成一个可执行的jar包
<build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</a...原创 2019-04-19 19:18:13 · 1480 阅读 · 0 评论 -
SpringBoot 入门篇(三) SpringApplication
一、SpringApplication的几种常用方式二、定制启动Banner三、SpringBoot事件和监听器四、SpringBoot的Web环境信息五、SpringBoot的ApplicationRunner接口 和 CommandLineRunner接口SpringBoot版本:1.5.13.RELEASE对应官方文档链接:https://docs.spring.io/spri...转载 2019-03-12 18:56:59 · 417 阅读 · 0 评论 -
把spring-boot项目部署到tomcat容器中
把spring-boot项目按照平常的web项目一样发布到tomcat容器下一、修改打包形式在pom.xml里设置 <packaging>war</packaging>二、移除嵌入式tomcat插件在pom.xml里找到spring-boot-starter-web依赖节点,在其中添加如下代码,<dependency> ...转载 2018-09-28 19:50:59 · 208 阅读 · 0 评论 -
spring annotation
https://blog.youkuaiyun.com/yeyincai/article/details/51702059annotation总结分析 基于类的注解:--初始装载@SpringBootApplication spring-boot程序入口标志类@Configuration 自动配置,类似于加载s...转载 2018-09-12 15:08:05 · 216 阅读 · 0 评论 -
spring boot jetty 主要配置
server.jetty.acceptors= # Number of acceptor threads to use.server.jetty.accesslog.append=false # Append to log.server.jetty.accesslog.date-format=dd/MMM/yyyy:HH:mm:ss Z # Timestamp format of the re...原创 2018-04-12 16:30:45 · 6305 阅读 · 0 评论 -
Spring Jetty替换Tomcat
<dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId> <exclusions> ...原创 2018-04-12 15:47:38 · 1228 阅读 · 0 评论