{"id":84013,"date":"2026-07-26T07:33:15","date_gmt":"2026-07-25T23:33:15","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/84013.html"},"modified":"2026-07-26T07:33:15","modified_gmt":"2026-07-25T23:33:15","slug":"springboot-%e5%86%85%e7%bd%ae%e6%9c%8d%e5%8a%a1%e5%99%a8%ef%bc%88tomcat-jetty-undertow%ef%bc%89%e5%88%87%e6%8d%a2","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/84013.html","title":{"rendered":"SpringBoot \u5185\u7f6e\u670d\u52a1\u5668\uff08Tomcat\/Jetty\/Undertow\uff09\u5207\u6362"},"content":{"rendered":"<p style=\"text-align: justify\">\u7528 SpringBoot \u5f00\u53d1\u65f6&#xff0c;\u4f60\u53ef\u80fd\u4ece\u6ca1\u5173\u6ce8\u8fc7\u201c\u670d\u52a1\u5668\u201d\u8fd9\u4ef6\u4e8b\u2014\u2014\u70b9\u4e00\u4e0b\u542f\u52a8&#xff0c;\u63a5\u53e3\u5c31\u80fd\u8bbf\u95ee&#xff0c;\u9ed8\u8ba4\u7528\u7684\u662f Tomcat\u3002\u4f46\u5b9e\u9645\u5f00\u53d1\u4e2d&#xff0c;\u4e0d\u540c\u573a\u666f\u9700\u8981\u4e0d\u540c\u7684\u670d\u52a1\u5668&#xff1a;\u6bd4\u5982\u8ffd\u6c42\u9ad8\u6027\u80fd\u9009 Undertow&#xff0c;\u8ffd\u6c42\u8f7b\u91cf\u9009 Jetty&#xff0c;\u517c\u5bb9\u8001\u9879\u76ee\u9009 Tomcat\u3002<\/p>\n<p style=\"text-align: justify\">\u4eca\u5929\u5c31\u624b\u628a\u624b\u6559\u4f60&#xff1a;SpringBoot \u91cc\u600e\u4e48\u5207\u6362\u5185\u7f6e\u670d\u52a1\u5668&#xff08;Tomcat\u2192Jetty\u2192Undertow&#xff09;&#xff0c;\u4ee5\u53ca\u4e09\u79cd\u670d\u52a1\u5668\u7684\u6838\u5fc3\u533a\u522b\u3001\u9009\u578b\u5efa\u8bae\u2014\u2014\u7eaf\u5b9e\u64cd&#xff0c;\u6539\u51e0\u884c\u914d\u7f6e\u5c31\u80fd\u641e\u5b9a&#xff0c;\u518d\u4e5f\u4e0d\u7528\u88ab\u201c\u9ed8\u8ba4 Tomcat\u201d\u7ed1\u6b7b\u3002<\/p>\n<h5>\u5148\u641e\u61c2&#xff1a;SpringBoot \u4e3a\u5565\u80fd\u201c\u5185\u7f6e\u201d\u670d\u52a1\u5668&#xff1f;<\/h5>\n<p style=\"text-align: justify\">SpringBoot \u4e4b\u6240\u4ee5\u80fd\u4e00\u952e\u542f\u52a8&#xff0c;\u6838\u5fc3\u662f\u628a Tomcat\/Jetty\/Undertow \u8fd9\u4e9b Web \u670d\u52a1\u5668\u6253\u5305\u6210\u4e86\u4f9d\u8d56&#xff0c;\u542f\u52a8\u65f6\u81ea\u52a8\u521d\u59cb\u5316&#xff0c;\u4e0d\u7528\u6211\u4eec\u624b\u52a8\u5b89\u88c5\u3001\u914d\u7f6e\u3002<\/p>\n<p style=\"text-align: justify\">\u6838\u5fc3\u903b\u8f91&#xff1a;<\/p>\n<ul>\n<li>spring-boot-starter-web\n<p>\u00a0\u4f9d\u8d56\u9ed8\u8ba4\u5f15\u5165\u00a0spring-boot-starter-tomcat&#xff08;\u5185\u7f6e Tomcat&#xff09;&#xff1b;<\/p>\n<\/li>\n<li>\n<p>\u5207\u6362\u670d\u52a1\u5668\u7684\u672c\u8d28&#xff1a;\u6392\u9664\u9ed8\u8ba4\u7684 Tomcat \u4f9d\u8d56&#xff0c;\u5f15\u5165\u76ee\u6807\u670d\u52a1\u5668\u7684 Starter \u4f9d\u8d56&#xff1b;<\/p>\n<\/li>\n<li>\n<p>\u6240\u6709\u670d\u52a1\u5668\u90fd\u9002\u914d SpringBoot \u7684\u00a0WebServer\u00a0\u63a5\u53e3&#xff0c;\u5207\u6362\u540e\u4ee3\u7801\u65e0\u9700\u4efb\u4f55\u6539\u52a8\u3002<\/p>\n<\/li>\n<\/ul>\n<p style=\"text-align: justify\">\u5148\u770b\u4e09\u6b3e\u5185\u7f6e\u670d\u52a1\u5668\u7684\u6838\u5fc3\u5dee\u5f02&#xff08;\u65b0\u624b\u5148\u8bb0\u7ed3\u8bba&#xff09;&#xff1a;<\/p>\n<table>\n<tr>\n<p>\u7279\u6027<\/p>\n<p>Tomcat&#xff08;\u9ed8\u8ba4&#xff09;<\/p>\n<p>Jetty<\/p>\n<p>Undertow<\/p>\n<\/tr>\n<tbody>\n<tr>\n<td>\n<p>\u6838\u5fc3\u4f18\u52bf<\/p>\n<\/td>\n<td>\n<p>\u751f\u6001\u5b8c\u5584\u3001\u517c\u5bb9\u6027\u597d\u3001\u6587\u6863\u591a<\/p>\n<\/td>\n<td>\n<p>\u8f7b\u91cf\u3001\u542f\u52a8\u5feb\u3001\u9002\u5408\u957f\u8fde\u63a5&#xff08;WebSocket&#xff09;<\/p>\n<\/td>\n<td>\n<p>\u9ad8\u6027\u80fd\u3001\u4f4e\u5185\u5b58\u3001\u5e76\u53d1\u80fd\u529b\u5f3a<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>\u6838\u5fc3\u52a3\u52bf<\/p>\n<\/td>\n<td>\n<p>\u5185\u5b58\u5360\u7528\u8f83\u9ad8\u3001\u5e76\u53d1\u6027\u80fd\u4e00\u822c<\/p>\n<\/td>\n<td>\n<p>\u5e76\u53d1\u6027\u80fd\u5f31\u4e8e Undertow<\/p>\n<\/td>\n<td>\n<p>\u529f\u80fd\u6bd4 Tomcat \u5c11\u3001\u6587\u6863\u76f8\u5bf9\u5c11<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>\u9002\u7528\u573a\u666f<\/p>\n<\/td>\n<td>\n<p>\u901a\u7528\u573a\u666f\u3001\u4f20\u7edf Web \u9879\u76ee\u3001\u65b0\u624b<\/p>\n<\/td>\n<td>\n<p>\u8f7b\u91cf\u5e94\u7528\u3001WebSocket \u5e94\u7528&#xff08;\u5982\u804a\u5929&#xff09;<\/p>\n<\/td>\n<td>\n<p>\u9ad8\u5e76\u53d1\u63a5\u53e3\u3001\u5fae\u670d\u52a1\u3001\u6027\u80fd\u654f\u611f\u573a\u666f<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>\u5185\u5b58\u5360\u7528&#xff08;\u540c\u7b49\u914d\u7f6e&#xff09;<\/p>\n<\/td>\n<td>\n<p>\u9ad8<\/p>\n<\/td>\n<td>\n<p>\u4e2d<\/p>\n<\/td>\n<td>\n<p>\u4f4e<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>\u5e76\u53d1\u5904\u7406\u80fd\u529b<\/p>\n<\/td>\n<td>\n<p>\u4e2d<\/p>\n<\/td>\n<td>\n<p>\u4e2d\u4f4e<\/p>\n<\/td>\n<td>\n<p>\u9ad8<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h5>\u9ed8\u8ba4\u670d\u52a1\u5668\u2014\u2014Tomcat<\/h5>\n<p style=\"text-align: justify\">SpringBoot \u9879\u76ee\u53ea\u8981\u5f15\u5165\u00a0spring-boot-starter-web&#xff0c;\u5c31\u81ea\u52a8\u7528 Tomcat \u4f5c\u4e3a\u5185\u7f6e\u670d\u52a1\u5668&#xff1a;<\/p>\n<p>1<br \/>\n2&lt;dependency&gt;<br \/>\n3&lt;groupId&gt;org.springframework.bootgroupId&gt;<br \/>\n4&lt;artifactId&gt;spring-boot-starter-webartifactId&gt;<br \/>\n5dependency&gt;<\/p>\n<p style=\"text-align: justify\">\u542f\u52a8\u9879\u76ee&#xff0c;\u65e5\u5fd7\u91cc\u4f1a\u770b\u5230 Tomcat \u542f\u52a8\u7684\u75d5\u8ff9&#xff1a;<\/p>\n<p>2026-03-19 10:00:00.000 \u00a0INFO 12345 &#8212; [ \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 main] o.s.b.w.embedded.tomcat.TomcatWebServer \u00a0: Tomcat initialized with port 8080 (http)<br \/>\n2026-03-19 10:00:00.123 \u00a0INFO 12345 &#8212; [ \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 main] o.s.b.w.embedded.tomcat.TomcatWebServer \u00a0: Tomcat started on port 8080 (http)<\/p>\n<p style=\"text-align: justify\">\u5982\u679c\u60f3\u81ea\u5b9a\u4e49 Tomcat \u914d\u7f6e&#xff08;\u6bd4\u5982\u8c03\u7ebf\u7a0b\u6570\u3001\u6700\u5927\u8fde\u63a5\u6570&#xff09;&#xff0c;\u5728\u00a0application.yml\u00a0\u91cc\u52a0&#xff1a;<\/p>\n<p>1server:<br \/>\n2\u00a0 tomcat:<br \/>\n3max-threads:200# \u6700\u5927\u5de5\u4f5c\u7ebf\u7a0b\u6570&#xff08;\u9ed8\u8ba4200&#xff09;<br \/>\n4min-spare-threads:20# \u6700\u5c0f\u7a7a\u95f2\u7ebf\u7a0b\u6570<br \/>\n5max-connections:10000# \u6700\u5927\u8fde\u63a5\u6570<br \/>\n6accept-count:100# \u8fde\u63a5\u961f\u5217\u957f\u5ea6&#xff08;\u6ee1\u4e86\u4e4b\u540e\u65b0\u8bf7\u6c42\u4f1a\u88ab\u62d2\u7edd&#xff09;<\/p>\n<h5>\u5207\u6362\u5230 Jetty<\/h5>\n<p style=\"text-align: justify\">Jetty \u6bd4 Tomcat \u66f4\u8f7b\u91cf&#xff0c;\u542f\u52a8\u66f4\u5feb&#xff0c;\u5bf9 WebSocket \u652f\u6301\u66f4\u53cb\u597d&#xff08;\u6bd4\u5982\u505a\u5373\u65f6\u804a\u5929\u3001\u6d88\u606f\u63a8\u9001\u9879\u76ee&#xff09;\u3002<\/p>\n<h6>\u7b2c\u4e00\u6b65&#xff1a;\u6392\u9664 Tomcat \u4f9d\u8d56&#xff0c;\u5f15\u5165 Jetty \u4f9d\u8d56<\/h6>\n<p style=\"text-align: justify\">\u4fee\u6539\u00a0pom.xml&#xff0c;\u6838\u5fc3\u662f\u201c\u5148\u6392\u9664\u3001\u518d\u5f15\u5165\u201d&#xff1a;<\/p>\n<p>1&lt;dependencies&gt;<br \/>\n2<br \/>\n3&lt;dependency&gt;<br \/>\n4&lt;groupId&gt;org.springframework.bootgroupId&gt;<br \/>\n5&lt;artifactId&gt;spring-boot-starter-webartifactId&gt;<br \/>\n6<br \/>\n7&lt;exclusions&gt;<br \/>\n8&lt;exclusion&gt;<br \/>\n9&lt;groupId&gt;org.springframework.bootgroupId&gt;<br \/>\n10&lt;artifactId&gt;spring-boot-starter-tomcatartifactId&gt;<br \/>\n11exclusion&gt;<br \/>\n12exclusions&gt;<br \/>\n13dependency&gt;<br \/>\n14<br \/>\n15<br \/>\n16&lt;dependency&gt;<br \/>\n17&lt;groupId&gt;org.springframework.bootgroupId&gt;<br \/>\n18&lt;artifactId&gt;spring-boot-starter-jettyartifactId&gt;<br \/>\n19dependency&gt;<br \/>\n20dependencies&gt;<\/p>\n<h6>\u7b2c\u4e8c\u6b65&#xff1a;\u542f\u52a8\u9879\u76ee&#xff0c;\u9a8c\u8bc1\u5207\u6362\u6210\u529f<\/h6>\n<p style=\"text-align: justify\">\u542f\u52a8\u65e5\u5fd7\u91cc\u4f1a\u770b\u5230 Jetty \u76f8\u5173\u8f93\u51fa&#xff0c;\u8bf4\u660e\u5207\u6362\u6210\u529f&#xff1a;<\/p>\n<p>2026-03-19 10:01:00.000 \u00a0INFO 67890 &#8212; [ \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 main] o.e.j.s.Server \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0: jetty-11.0.18; built: 2024-01-01T00:00:00Z; git: abc123; jvm 17.0.10<br \/>\n2026-03-19 10:01:00.123 \u00a0INFO 67890 &#8212; [ \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 main] o.e.j.w.StandardDescriptorProcessor \u00a0 \u00a0 : NO JSP Support for \/, did not find org.eclipse.jetty.jsp.JettyJspServlet<br \/>\n2026-03-19 10:01:00.456 \u00a0INFO 67890 &#8212; [ \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 main] o.s.b.web.embedded.jetty.JettyWebServer \u00a0: Jetty started on port 8080 (http) with context path &#039;\/&#039;<\/p>\n<h6>\u7b2c\u4e09\u6b65&#xff1a;\u81ea\u5b9a\u4e49 Jetty \u914d\u7f6e&#xff08;\u53ef\u9009&#xff09;<\/h6>\n<p style=\"text-align: justify\">\u5728\u00a0application.yml\u00a0\u91cc\u8c03\u6574 Jetty \u53c2\u6570&#xff1a;<\/p>\n<p>1server:<br \/>\n2\u00a0 jetty:<br \/>\n3acceptors:4# \u63a5\u53d7\u8fde\u63a5\u7684\u7ebf\u7a0b\u6570&#xff08;\u9ed8\u8ba4CPU\u6838\u5fc3\u6570&#xff09;<br \/>\n4selectors:8# \u5904\u7406IO\u7684\u7ebf\u7a0b\u6570<br \/>\n5max-http-post-size:\u00a010MB \u00a0# \u6700\u5927POST\u8bf7\u6c42\u5927\u5c0f<\/p>\n<h5>\u5207\u6362\u5230 Undertow<\/h5>\n<p style=\"text-align: justify\">Undertow \u662f RedHat \u5f00\u6e90\u7684\u670d\u52a1\u5668&#xff0c;\u6027\u80fd\u540a\u6253 Tomcat\/Jetty&#xff0c;\u5185\u5b58\u5360\u7528\u6700\u4f4e&#xff0c;\u9002\u5408\u9ad8\u5e76\u53d1\u7684\u5fae\u670d\u52a1\u63a5\u53e3\u3002<\/p>\n<h6>\u7b2c\u4e00\u6b65&#xff1a;\u6392\u9664 Tomcat \u4f9d\u8d56&#xff0c;\u5f15\u5165 Undertow \u4f9d\u8d56<\/h6>\n<p style=\"text-align: justify\">\u540c\u6837\u4fee\u6539\u00a0pom.xml&#xff1a;<\/p>\n<p>1&lt;dependencies&gt;<br \/>\n2<br \/>\n3&lt;dependency&gt;<br \/>\n4&lt;groupId&gt;org.springframework.bootgroupId&gt;<br \/>\n5&lt;artifactId&gt;spring-boot-starter-webartifactId&gt;<br \/>\n6<br \/>\n7&lt;exclusions&gt;<br \/>\n8&lt;exclusion&gt;<br \/>\n9&lt;groupId&gt;org.springframework.bootgroupId&gt;<br \/>\n10&lt;artifactId&gt;spring-boot-starter-tomcatartifactId&gt;<br \/>\n11exclusion&gt;<br \/>\n12exclusions&gt;<br \/>\n13dependency&gt;<br \/>\n14<br \/>\n15<br \/>\n16&lt;dependency&gt;<br \/>\n17&lt;groupId&gt;org.springframework.bootgroupId&gt;<br \/>\n18&lt;artifactId&gt;spring-boot-starter-undertowartifactId&gt;<br \/>\n19dependency&gt;<br \/>\n20dependencies&gt;<\/p>\n<h6>\u7b2c\u4e8c\u6b65&#xff1a;\u542f\u52a8\u9a8c\u8bc1&#xff0c;\u67e5\u770b\u65e5\u5fd7<\/h6>\n<p style=\"text-align: justify\">\u542f\u52a8\u65e5\u5fd7\u91cc\u51fa\u73b0 Undertow \u6807\u8bc6&#xff0c;\u8bf4\u660e\u5207\u6362\u6210\u529f&#xff1a;<\/p>\n<p>2026-03-19 10:02:00.000 \u00a0INFO 11223 &#8212; [ \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 main] io.undertow.servlet.core.ApplicationDeploymentManager : starting deployment of web application directory \/tmp\/tomcat.12345\/webapps\/ROOT<br \/>\n2026-03-19 10:02:00.345 \u00a0INFO 11223 &#8212; [ \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 main] o.s.b.web.embedded.undertow.UndertowWebServer \u00a0: Undertow started on port 8080 (http) with context path &#039;\/&#039;<\/p>\n<h6>\u7b2c\u4e09\u6b65&#xff1a;\u81ea\u5b9a\u4e49 Undertow \u914d\u7f6e&#xff08;\u6027\u80fd\u8c03\u4f18&#xff09;<\/h6>\n<p style=\"text-align: justify\">Undertow \u7684\u6027\u80fd\u8c03\u4f18\u4e3b\u8981\u5728\u7ebf\u7a0b\u6570\u548c\u8fde\u63a5\u6570&#xff0c;\u914d\u7f6e\u00a0application.yml&#xff1a;<\/p>\n<p>1server:<br \/>\n2\u00a0 undertow:<br \/>\n3# IO \u7ebf\u7a0b\u6570&#xff08;\u9ed8\u8ba4CPU\u6838\u5fc3\u6570*2&#xff09;&#xff0c;\u5904\u7406\u8fde\u63a5\u63a5\u53d7\u3001\u8bf7\u6c42\u5206\u53d1<br \/>\n4io-threads:8<br \/>\n5# \u5de5\u4f5c\u7ebf\u7a0b\u6570&#xff08;\u9ed8\u8ba4IO\u7ebf\u7a0b\u6570*8&#xff09;&#xff0c;\u5904\u7406\u5177\u4f53\u7684\u4e1a\u52a1\u8bf7\u6c42<br \/>\n6worker-threads:64<br \/>\n7# \u6700\u5927\u8bf7\u6c42\u5927\u5c0f<br \/>\n8max-http-post-size:\u00a010MB<br \/>\n9# \u5f00\u542fHTTP2&#xff08;\u53ef\u9009&#xff0c;\u9700\u8981HTTPS&#xff09;<br \/>\n10\u00a0 \u00a0 http2:<br \/>\n11enabled:true<\/p>\n<p style=\"text-align: justify\">\u26a0\ufe0f \u8c03\u4f18\u5efa\u8bae&#xff1a;IO \u7ebf\u7a0b\u6570\u8bbe\u4e3a CPU \u6838\u5fc3\u65702&#xff0c;\u5de5\u4f5c\u7ebf\u7a0b\u6570\u8bbe\u4e3a IO \u7ebf\u7a0b\u65708~16&#xff0c;\u6839\u636e\u670d\u52a1\u5668\u914d\u7f6e\u8c03\u6574\u3002<\/p>\n<h5>\u5fc5\u907f\u7684 3 \u4e2a\u5751<\/h5>\n<li>\u53ea\u5f15\u5165\u65b0\u670d\u52a1\u5668\u4f9d\u8d56&#xff0c;\u6ca1\u6392\u9664 Tomcat\n<p>&#xff1a;\u7ed3\u679c&#xff1a;\u9879\u76ee\u542f\u52a8\u62a5\u9519&#xff08;\u4f9d\u8d56\u51b2\u7a81&#xff09;&#xff0c;\u65e5\u5fd7\u91cc\u540c\u65f6\u51fa\u73b0 Tomcat \u548c Jetty\/Undertow&#xff1b;\u89e3\u51b3&#xff1a;\u5fc5\u987b\u5148\u6392\u9664\u00a0spring-boot-starter-tomcat&#xff0c;\u518d\u5f15\u5165\u76ee\u6807\u670d\u52a1\u5668\u4f9d\u8d56\u3002<\/p>\n<\/li>\n<li>\u5207\u6362\u540e\u63a5\u53e3\u8bbf\u95ee 404\n<p>&#xff1a;\u539f\u56e0&#xff1a;\u670d\u52a1\u5668\u5207\u6362\u4e0d\u5f71\u54cd\u4e1a\u52a1\u4ee3\u7801&#xff0c;\u5927\u6982\u7387\u662f\u5176\u4ed6\u914d\u7f6e\u95ee\u9898&#xff08;\u6bd4\u5982\u7aef\u53e3\u9519\u3001Controller \u6ca1\u626b\u63cf\u5230&#xff09;&#xff1b;\u89e3\u51b3&#xff1a;\u68c0\u67e5\u00a0server.port\u3001\u4e3b\u542f\u52a8\u7c7b\u5305\u5c42\u7ea7\u3001&#064;RestController\u00a0\u6ce8\u89e3\u662f\u5426\u6b63\u786e\u3002<\/p>\n<\/li>\n<li>Undertow \u5f00\u542f HTTP2 \u4f46\u6ca1\u914d HTTPS\n<p>&#xff1a;\u7ed3\u679c&#xff1a;\u542f\u52a8\u62a5\u9519&#xff0c;HTTP2 \u5fc5\u987b\u57fa\u4e8e HTTPS&#xff1b;\u89e3\u51b3&#xff1a;\u8981\u4e48\u5173\u95ed HTTP2&#xff0c;\u8981\u4e48\u914d\u7f6e SSL \u8bc1\u4e66&#xff08;\u751f\u4ea7\u73af\u5883\u518d\u914d&#xff09;\u3002<\/p>\n<\/li>\n<h5>\u751f\u4ea7\u73af\u5883\u9009\u578b\u5efa\u8bae&#xff08;\u6309\u573a\u666f\u9009&#xff09;<\/h5>\n<p style=\"text-align: justify\">\u4e0d\u7528\u76f2\u76ee\u8ffd\u6c42\u201c\u9ad8\u6027\u80fd\u201d&#xff0c;\u6309\u5b9e\u9645\u9700\u6c42\u9009&#xff1a;<\/p>\n<li>\u65b0\u624b\/\u901a\u7528\u573a\u666f\n<p>&#xff1a;\u9009 Tomcat&#xff08;\u6587\u6863\u591a\u3001\u95ee\u9898\u597d\u6392\u67e5\u3001\u517c\u5bb9\u6027\u6700\u597d&#xff09;&#xff1b;<\/p>\n<\/li>\n<li>WebSocket \u5e94\u7528&#xff08;\u804a\u5929\u3001\u63a8\u9001&#xff09;\n<p>&#xff1a;\u9009 Jetty&#xff08;\u5bf9\u957f\u8fde\u63a5\u652f\u6301\u66f4\u4f18&#xff09;&#xff1b;<\/p>\n<\/li>\n<li>\u9ad8\u5e76\u53d1\u5fae\u670d\u52a1\u63a5\u53e3\n<p>&#xff1a;\u9009 Undertow&#xff08;\u6027\u80fd\u6700\u9ad8\u3001\u5185\u5b58\u5360\u7528\u6700\u4f4e&#xff09;&#xff1b;<\/p>\n<\/li>\n<li>\u8001\u9879\u76ee\u8fc1\u79fb\n<p>&#xff1a;\u9009 Tomcat&#xff08;\u548c\u4f20\u7edf Web \u9879\u76ee\u517c\u5bb9\u6700\u597d&#xff09;&#xff1b;<\/p>\n<\/li>\n<li>\u5bb9\u5668\u5316\u90e8\u7f72&#xff08;Docker\/K8s&#xff09;\n<p>&#xff1a;\u9009 Undertow&#xff08;\u955c\u50cf\u4f53\u79ef\u66f4\u5c0f&#xff0c;\u8d44\u6e90\u5360\u7528\u4f4e&#xff09;\u3002<\/p>\n<\/li>\n<h5>\u6700\u540e\u8bf4\u4e24\u53e5<\/h5>\n<p style=\"text-align: justify\">SpringBoot \u5207\u6362\u5185\u7f6e\u670d\u52a1\u5668\u7684\u6838\u5fc3\u5c31\u4e24\u6b65&#xff1a;<\/p>\n<ul>\n<li>\n<p>\u6392\u9664\u9ed8\u8ba4\u7684 Tomcat \u4f9d\u8d56&#xff1b;<\/p>\n<\/li>\n<li>\n<p>\u5f15\u5165\u76ee\u6807\u670d\u52a1\u5668&#xff08;Jetty\/Undertow&#xff09;\u7684 Starter \u4f9d\u8d56\u3002<\/p>\n<\/li>\n<\/ul>\n<p style=\"text-align: justify\">\u4e09\u6b3e\u670d\u52a1\u5668\u6ca1\u6709\u201c\u6700\u597d\u201d&#xff0c;\u53ea\u6709\u201c\u6700\u9002\u5408\u201d\u2014\u2014\u5927\u90e8\u5206\u573a\u666f\u7528 Tomcat \u8db3\u591f&#xff0c;\u8ffd\u6c42\u6027\u80fd\u9009 Undertow&#xff0c;\u8ffd\u6c42\u8f7b\u91cf\u9009 Jetty\u3002<\/p>\n<p style=\"text-align: justify\">\u4e0b\u4e00\u671f&#xff0c;\u54b1\u4eec\u4f1a\u8bb2&#xff1a;SpringBoot \u914d\u7f6e HTTPS&#xff08;\u81ea\u7b7e\u540d\u8bc1\u4e66&#043;\u6b63\u5f0f\u8bc1\u4e66&#xff09;&#xff0c;\u8ba9\u63a5\u53e3\u901a\u8fc7 HTTPS \u8bbf\u95ee&#xff0c;\u4fdd\u8bc1\u6570\u636e\u4f20\u8f93\u5b89\u5168\u3002<\/p>\n<p style=\"text-align: justify\">\u5982\u679c\u8fd9\u7bc7\u6587\u7ae0\u5e2e\u4f60\u641e\u5b9a\u4e86\u670d\u52a1\u5668\u5207\u6362&#xff0c;\u9ebb\u70e6\u70b9\u4e2a\u8d5e\u3001\u5728\u770b&#xff0c;\u5173\u6ce8\u6211&#xff0c;\u540e\u7eed\u8fd8\u6709\u66f4\u591a SpringBoot \u6027\u80fd\u8c03\u4f18\u5b9e\u6218\u6280\u5de7&#xff0c;\u4ece\u5165\u95e8\u5230\u7cbe\u901a&#xff5e;<\/p>\n<hr \/>\n","protected":false},"excerpt":{"rendered":"<p>\u7528 SpringBoot \u5f00\u53d1\u65f6&#xff0c;\u4f60\u53ef\u80fd\u4ece\u6ca1\u5173\u6ce8\u8fc7\u201c\u670d\u52a1\u5668\u201d\u8fd9\u4ef6\u4e8b\u2014\u2014\u70b9\u4e00\u4e0b\u542f\u52a8&#xff0c;\u63a5\u53e3\u5c31\u80fd\u8bbf\u95ee&#xff0c;\u9ed8\u8ba4\u7528\u7684\u662f Tomcat\u3002\u4f46\u5b9e\u9645\u5f00\u53d1\u4e2d&#xff0c;\u4e0d\u540c\u573a\u666f\u9700\u8981\u4e0d\u540c\u7684\u670d\u52a1\u5668&#xff1a;\u6bd4\u5982\u8ffd\u6c42\u9ad8\u6027\u80fd\u9009 Undertow&#xff0c;\u8ffd\u6c42\u8f7b\u91cf\u9009 Jetty&#xff0c;\u517c\u5bb9\u8001\u9879\u76ee\u9009 Tomcat\u3002\u4eca\u5929\u5c31\u624b\u628a\u624b\u6559\u4f60&#xff1a;SpringBoot \u91cc\u600e\u4e48\u5207\u6362\u5185\u7f6e\u670d\u52a1\u5668&#xff08;Tomcat\u2192Jetty\u2192Undertow<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[2061,98,223,292,43],"topic":[],"class_list":["post-84013","post","type-post","status-publish","format-standard","hentry","category-server","tag-jetty","tag-spring-boot","tag-tomcat","tag-292","tag-43"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>SpringBoot \u5185\u7f6e\u670d\u52a1\u5668\uff08Tomcat\/Jetty\/Undertow\uff09\u5207\u6362 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/84013.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"SpringBoot \u5185\u7f6e\u670d\u52a1\u5668\uff08Tomcat\/Jetty\/Undertow\uff09\u5207\u6362 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u7528 SpringBoot \u5f00\u53d1\u65f6&#xff0c;\u4f60\u53ef\u80fd\u4ece\u6ca1\u5173\u6ce8\u8fc7\u201c\u670d\u52a1\u5668\u201d\u8fd9\u4ef6\u4e8b\u2014\u2014\u70b9\u4e00\u4e0b\u542f\u52a8&#xff0c;\u63a5\u53e3\u5c31\u80fd\u8bbf\u95ee&#xff0c;\u9ed8\u8ba4\u7528\u7684\u662f Tomcat\u3002\u4f46\u5b9e\u9645\u5f00\u53d1\u4e2d&#xff0c;\u4e0d\u540c\u573a\u666f\u9700\u8981\u4e0d\u540c\u7684\u670d\u52a1\u5668&#xff1a;\u6bd4\u5982\u8ffd\u6c42\u9ad8\u6027\u80fd\u9009 Undertow&#xff0c;\u8ffd\u6c42\u8f7b\u91cf\u9009 Jetty&#xff0c;\u517c\u5bb9\u8001\u9879\u76ee\u9009 Tomcat\u3002\u4eca\u5929\u5c31\u624b\u628a\u624b\u6559\u4f60&#xff1a;SpringBoot \u91cc\u600e\u4e48\u5207\u6362\u5185\u7f6e\u670d\u52a1\u5668&#xff08;Tomcat\u2192Jetty\u2192Undertow\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/84013.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-07-25T23:33:15+00:00\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/84013.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/84013.html\",\"name\":\"SpringBoot \u5185\u7f6e\u670d\u52a1\u5668\uff08Tomcat\/Jetty\/Undertow\uff09\u5207\u6362 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-07-25T23:33:15+00:00\",\"dateModified\":\"2026-07-25T23:33:15+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/84013.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/84013.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/84013.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"SpringBoot \u5185\u7f6e\u670d\u52a1\u5668\uff08Tomcat\/Jetty\/Undertow\uff09\u5207\u6362\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"SpringBoot \u5185\u7f6e\u670d\u52a1\u5668\uff08Tomcat\/Jetty\/Undertow\uff09\u5207\u6362 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/84013.html","og_locale":"zh_CN","og_type":"article","og_title":"SpringBoot \u5185\u7f6e\u670d\u52a1\u5668\uff08Tomcat\/Jetty\/Undertow\uff09\u5207\u6362 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u7528 SpringBoot \u5f00\u53d1\u65f6&#xff0c;\u4f60\u53ef\u80fd\u4ece\u6ca1\u5173\u6ce8\u8fc7\u201c\u670d\u52a1\u5668\u201d\u8fd9\u4ef6\u4e8b\u2014\u2014\u70b9\u4e00\u4e0b\u542f\u52a8&#xff0c;\u63a5\u53e3\u5c31\u80fd\u8bbf\u95ee&#xff0c;\u9ed8\u8ba4\u7528\u7684\u662f Tomcat\u3002\u4f46\u5b9e\u9645\u5f00\u53d1\u4e2d&#xff0c;\u4e0d\u540c\u573a\u666f\u9700\u8981\u4e0d\u540c\u7684\u670d\u52a1\u5668&#xff1a;\u6bd4\u5982\u8ffd\u6c42\u9ad8\u6027\u80fd\u9009 Undertow&#xff0c;\u8ffd\u6c42\u8f7b\u91cf\u9009 Jetty&#xff0c;\u517c\u5bb9\u8001\u9879\u76ee\u9009 Tomcat\u3002\u4eca\u5929\u5c31\u624b\u628a\u624b\u6559\u4f60&#xff1a;SpringBoot \u91cc\u600e\u4e48\u5207\u6362\u5185\u7f6e\u670d\u52a1\u5668&#xff08;Tomcat\u2192Jetty\u2192Undertow","og_url":"https:\/\/www.wsisp.com\/helps\/84013.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-07-25T23:33:15+00:00","author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"3 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/84013.html","url":"https:\/\/www.wsisp.com\/helps\/84013.html","name":"SpringBoot \u5185\u7f6e\u670d\u52a1\u5668\uff08Tomcat\/Jetty\/Undertow\uff09\u5207\u6362 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-07-25T23:33:15+00:00","dateModified":"2026-07-25T23:33:15+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/84013.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/84013.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/84013.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"SpringBoot \u5185\u7f6e\u670d\u52a1\u5668\uff08Tomcat\/Jetty\/Undertow\uff09\u5207\u6362"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/84013","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=84013"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/84013\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=84013"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=84013"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=84013"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=84013"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}