Durch das folgende Tutorial konnte ich den Spring-Boot mit Jetty unter Verwendung der folgenden Abhängigkeiten aufrufen.So konfigurieren Sie Jetty im Frühjahr-Boot (leicht?)
<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>
Doch wie kann ich die Jetty-Server wie konfigurieren:
- Server-Threads (Queue-Thread-Pool)
- Server-Anschlüsse
- Https-Konfigurationen.
- all diese Konfiguration in Jetty verfügbar ...?
Gibt es eine einfache Möglichkeit, in
- application.yml zu tun?
- Konfigurationsklasse?
Jedes Beispiel würde sehr geschätzt werden.
Vielen Dank !!
Vielen Dank für Ihre Erklärung! – Elvin
"Embedded Container kann nicht gestartet werden" nach Hinzufügen dieser Pom, würden Sie bitte helfen, http://StackOverflow.com/questions/39557018/unable-to-start-embedded-container-after-switch-from-tomcat-to zu überprüfen -jetty-spring-bo – Jaskey
Funktioniert für mich. Überprüfen Sie die Proben im Springboot. –