The prefix “mvc“ for element “mvc:default-servlet-handler“ is not bound.

问题所在:

SpringMVC.XML的头部编写出错;

解决方法:

在头部加上:

xmlns:mvc="http://www.springframework.org/schema/mvc"

在xsi:schemaLocation=中加入

http://www.springframework.org/schema/mvc  					http://www.springframework.org/schema/mvc/spring-mvc-3.0.xsd

版权声明:本文为weixin_44138291原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。