Spring mvc 加载spring上下文时IntelliJ不会启动浏览器

Spring mvc 加载spring上下文时IntelliJ不会启动浏览器,spring-mvc,intellij-idea,Spring Mvc,Intellij Idea,在IntelliJ中加载spring时,如何启动浏览器 这里是我的tomcat配置: 我已定义启动浏览器,但没有附加任何内容 下面是我日志的结尾: 18:21:25.192 ["http-bio-8080"-exec-5] DEBUG o.s.web.servlet.DispatcherServlet - DispatcherServlet with name 'mvc-dispatcher' processing GET request for [/] 18:21:25.193 ["http

在IntelliJ中加载spring时,如何启动浏览器

这里是我的tomcat配置:

我已定义启动浏览器,但没有附加任何内容

下面是我日志的结尾:

18:21:25.192 ["http-bio-8080"-exec-5] DEBUG o.s.web.servlet.DispatcherServlet - DispatcherServlet with name 'mvc-dispatcher' processing GET request for [/]
18:21:25.193 ["http-bio-8080"-exec-5] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Looking up handler method for path /
18:21:25.193 ["http-bio-8080"-exec-5] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Returning handler method [public org.springframework.web.servlet.ModelAndView com.excilys.formation.controller.impl.ThumbnailControllerImpl.doGet()]
18:21:25.193 ["http-bio-8080"-exec-5] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Returning cached instance of singleton bean 'thumbnailControllerImpl'
18:21:25.194 ["http-bio-8080"-exec-5] DEBUG o.s.web.servlet.DispatcherServlet - Last-Modified value for [/] is: -1
18:21:25.195 ["http-bio-8080"-exec-5] DEBUG o.s.web.servlet.DispatcherServlet - Rendering view [org.springframework.web.servlet.view.JstlView: name 'welcome'; URL [/WEB-INF/pages/welcome.jsp]] in DispatcherServlet with name 'mvc-dispatcher'
18:21:25.195 ["http-bio-8080"-exec-5] DEBUG o.s.web.servlet.view.JstlView - Forwarding to resource [/WEB-INF/pages/welcome.jsp] in InternalResourceView 'welcome'
18:21:25.197 ["http-bio-8080"-exec-5] DEBUG o.s.web.servlet.DispatcherServlet - Successfully completed request
18:21:27.413 ["http-bio-8080"-exec-6] DEBUG o.s.web.servlet.DispatcherServlet - DispatcherServlet with name 'mvc-dispatcher' processing GET request for [/]
18:21:27.413 ["http-bio-8080"-exec-6] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Looking up handler method for path /
18:21:27.414 ["http-bio-8080"-exec-6] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Returning handler method [public org.springframework.web.servlet.ModelAndView com.excilys.formation.controller.impl.ThumbnailControllerImpl.doGet()]
18:21:27.414 ["http-bio-8080"-exec-6] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Returning cached instance of singleton bean 'thumbnailControllerImpl'
18:21:27.414 ["http-bio-8080"-exec-6] DEBUG o.s.web.servlet.DispatcherServlet - Last-Modified value for [/] is: -1
18:21:27.415 ["http-bio-8080"-exec-6] DEBUG o.s.web.servlet.DispatcherServlet - Rendering view [org.springframework.web.servlet.view.JstlView: name 'welcome'; URL [/WEB-INF/pages/welcome.jsp]] in DispatcherServlet with name 'mvc-dispatcher'
18:21:27.415 ["http-bio-8080"-exec-6] DEBUG o.s.web.servlet.view.JstlView - Forwarding to resource [/WEB-INF/pages/welcome.jsp] in InternalResourceView 'welcome'
18:21:27.415 ["http-bio-8080"-exec-6] DEBUG o.s.web.servlet.DispatcherServlet - Successfully completed request

上下文加载没有错误,不是吗?怎么了?

加载上下文时没有错误,不是吗?不知道这里的日志太简短,无法确定。您是否尝试在浏览器中点击localhost:8080?您使用的是什么样的web服务器Apache,Nginx?是的,localhost:8080工作得很好,但我希望它是自动的。是的,我有一个tomcat服务器。