配置Spring MVC 时报了个奇怪的错误: Error listenerStart Context [/SpringMvc] startup failed due to previous errors
配置Spring MVC 时报了个奇怪的错误,记录一下解决方案:
严重: Error listenerStart 严重: Context[/SpringMvc] startup failed due to previous errors
方案:怀疑版本问题,网上一搜,果然:
<listener> <listener-class> org.springframework.web.context.ContextLoaderListener</listener-class> </listener> 改为: <listener> <listener-class>org.springframework.web.context.ContextLoaderServlet</listener-class> </listener>
问题解决!!