spring boot 使用jetty
##修改build.gradle:
dependencies加上:
implementation(“org.springframework.boot:spring-boot-starter-web”) {
exclude group: ‘org.springframework.boot’, module: ‘spring-boot-starter-tomcat’}
implementation("org.springframework.boot:spring-boot-starter-jetty")