Jetty服务器(可能会用到)
- Jetty 比 Tomcat更轻量级,可拓展性更强(相较于Tomcat),谷歌应用引擎(GAE)已经全面切换为Jetty
- 首先要启动Jetty服务器 --> 到
nexus.exe
文件夹中cmd
输入nexus.exe /run nexus
- 使用maven依赖管理变更起步依赖项
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
<exclusions>
<exclusion>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-tomcat</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-jetty</artifactId>
</dependency>
标签:SpringBoot,Tomcat,nexus,spring,boot,Jetty,服务器
From: https://www.cnblogs.com/1873cy/p/17267349.html