[] [2018-06-19 17:35:04.723] [] [localhost-startStop-1] [WARN ] [org.springframework.context.support.AbstractApplicationContext refresh 551] - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.web.servlet.resource.DefaultServletHttpRequestHandler#0': Initialization of bean failed; nested exception is java.lang.IllegalStateException: Unable to locate the default servlet for serving static content. Please set the 'defaultServletName' property explicitly.
[] [2018-06-19 17:35:04.727] [] [localhost-startStop-1] [ERROR] [org.springframework.web.servlet.FrameworkServlet initServletBean 502] - Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.web.servlet.resource.DefaultServletHttpRequestHandler#0': Initialization of bean failed; nested exception is java.lang.IllegalStateException: Unable to locate the default servlet for serving static content. Please set the 'defaultServletName' property explicitly.
linux 错误
最新推荐文章于 2024-08-09 16:31:01 发布