Tomcat未启动成功,显示No Spring WebApplicationInitializer types detected on classpath

No Spring WebApplicationInitializer types detected on classpath

意思为没有找到配置文件

需要看看web.xml中DispatcherServlet读取的文件名与你项目中的文件是否一致


		springDispatcherServlet
		org.springframework.web.servlet.DispatcherServlet
		
		
			contextConfigLocation
			classpath:springmvc.xml
		
		
		1
	

你可能感兴趣的:(Tomcat未启动成功,显示No Spring WebApplicationInitializer types detected on classpath)