Elv*_*vin 29 jetty spring-boot
按照本教程,我可以使用以下依赖项启动Jetty运行的spring-boot.
<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-actuator</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-jetty</artifactId>
</dependency>
Run Code Online (Sandbox Code Playgroud)
但是,我如何配置Jetty服务器,例如:
有没有简单的方法可以做到
任何一个例子将不胜感激.
非常感谢!!
| 归档时间: |
|
| 查看次数: |
31712 次 |
| 最近记录: |