1.pom.xml设置项目工程的打包方式为war <packaging>war</packaging> 2.增加下面依赖配置 spring-boot-starter-tomcat的范围设置为provided 3.修改启动类,继承SpringBootServletInitializer 然后重写con ...
分类:
编程语言 时间:
2019-02-17 00:22:24
阅读次数:
175
软件环境: CentOS6.5 otp_src_18.0.tar.gz rabbitmq-server-generic-unix-3.6.0.tar.xz 安装编译工具 yum -y install make gcc gcc-c++ kernel-devel m4 ncurses-devel ope ...
分类:
系统相关 时间:
2019-02-16 23:12:04
阅读次数:
326
模板如下: Copyright (c) <year> <copyright holders> This software is provided 'as-is', without any express or impliedwarranty. In no event will the authors ...
分类:
其他好文 时间:
2019-02-01 11:27:36
阅读次数:
342
lombok可以使实体更简洁,主要是会在编译.class文件期间,生成get/set方法,还有hash/equals/toString等。 主要是可以让代码更简洁。 在maven项目的pom依赖: Maven scope=provided的作用范围:参考:http://maven.apache.or ...
分类:
编程语言 时间:
2019-01-31 16:55:17
阅读次数:
1035
前几天springboot项目部署到linux中,整个过程就是个坑啊。踩坑的过程中也学到了许多。spring boot 项目部署时由于其内置了tomcat和jdk,而且还都是8。 所以部署的话就分为两种部署了, 第一种就是使用其内置的tomcat部署, 第二种就是采用外部的tomcat部署。采用内部 ...
分类:
编程语言 时间:
2019-01-30 16:13:37
阅读次数:
213
There are a number of spherical balloons spread in two-dimensional space. For each balloon, provided input is the start and end coordinates of the hor ...
分类:
其他好文 时间:
2019-01-27 16:47:15
阅读次数:
173
一,SpringBoot 整合 jsp 技术 1,创建项目 2,修改 pom 文件,添加坐标 3,创建 springBoot 的全局配置文件,application.properties 4,创建 Controller 5,创建 jsp 6,创建启动类 二,SpringBoot 整合 Freemar ...
分类:
编程语言 时间:
2019-01-23 01:34:28
阅读次数:
183
很多同学在使用Ffmpeg过程中都遇到Application provided invalid, non monotonically increasing dts to muxer in stream 错误,报这个错误的原因是视频源时间戳出问题了,Ffmpeg要求视频源时间戳递增,如不后面的视频包时 ...
分类:
移动开发 时间:
2019-01-22 10:42:09
阅读次数:
742
To learn and prepare for the testing and automation interviews, 300+ testing and automation questions are provided to help the software testing profes... ...
分类:
其他好文 时间:
2019-01-19 14:26:17
阅读次数:
225
一、依赖范围(scope): 共5种,compile (编译)、test (测试)、runtime (运行时)、provided、system compile:编译依赖范围,在编译,测试,运行时都需要。依赖范围默认为compile. test: 测试依赖范围,测试时需要。编译和运行不需要。如Juni ...
分类:
其他好文 时间:
2019-01-18 15:01:34
阅读次数:
234