移除tomcat,采用jetty Server

encoding
chenkailing 4 years ago committed by kl
parent 5a559aa868
commit f6d54902e9

@ -14,12 +14,12 @@
<artifactId>kkFileView</artifactId> <artifactId>kkFileView</artifactId>
<version>2.2.1</version> <version>2.2.1</version>
<properties> <properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<java.version>1.8</java.version> <java.version>1.8</java.version>
</properties> </properties>
<repositories> <repositories>
<repository> <repository>
<!-- required for org.hyperic:sigar --> <!-- required for org.hyperic:sigar -->
@ -35,12 +35,18 @@
<dependency> <dependency>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId> <artifactId>spring-boot-starter-web</artifactId>
<exclusions>
<exclusion>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-tomcat</artifactId>
</exclusion>
</exclusions>
</dependency> </dependency>
<dependency> <dependency>
<groupId>net.logstash.logback</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>logstash-logback-encoder</artifactId> <artifactId>spring-boot-starter-jetty</artifactId>
<version>4.11</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId> <artifactId>spring-boot-starter-test</artifactId>

Loading…
Cancel
Save