2021-07-21 17:09:53.836 INFO 10616 --- [ main] c.s.s.Springboot002SpringMvcApplication : Starting Springboot002SpringMvcApplication using Java 11.0.10 on LAPTOP-47F3TRCJ with PID 10616 (C:\Users\段雅婷\Desktop\SpringBoot\springboot002-springMVC\target\classes started by 段雅婷 in C:\Users\段雅婷\Desktop\SpringBoot) 2021-07-21 17:09:53.836 INFO 10616 --- [ main] c.s.s.Springboot002SpringMvcApplication : No active profile set, falling back to default profiles: default 2021-07-21 17:09:54.634 INFO 10616 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8080 (http) 2021-07-21 17:09:54.650 INFO 10616 --- [ main] o.apache.catalina.core.StandardService : Starting service [Tomcat] 2021-07-21 17:09:54.650 INFO 10616 --- [ main] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.48] 2021-07-21 17:09:54.697 INFO 10616 --- [ main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext 2021-07-21 17:09:54.697 INFO 10616 --- [ main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 830 ms 2021-07-21 17:09:54.931 INFO 10616 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 8080 (http) with context path '' 2021-07-21 17:09:54.931 INFO 10616 --- [ main] c.s.s.Springboot002SpringMvcApplication : Started Springboot002SpringMvcApplication in 1.409 seconds (JVM running for 2.861) 2021-07-21 17:10:38.256 INFO 10616 --- [nio-8080-exec-1] o.apache.tomcat.util.http.parser.Cookie : A cookie header was received [1626485908,1626487413,1626505943] that contained an invalid cookie. That cookie will be ignored. Note: further occurrences of this error will be logged at DEBUG level. 2021-07-21 17:10:38.261 INFO 10616 --- [nio-8080-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet 'dispatcherServlet' 2021-07-21 17:10:38.261 INFO 10616 --- [nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet' 2021-07-21 17:10:38.261 INFO 10616 --- [nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Completed initialization in 0 ms
其中我们发现一条提示信息Tomcat started on port(s): 8080 (http) with context path ‘’