报错:Namespace ‘mvc’ is not bound
我们首先先翻译一下
是mvc没有被绑定的问题
解决方案:
在springmvc.xml配置文件的开头中加入这句话:
xmlns:mvc=“http://www.springframework.org/schema/mvc”
然后加入下面的话
http://www.springframework.org/schema/mvc
http://www.springframework.org/schema/mvc/spring-mvc.xsd
如图:
然后就绑定mvc了 就ok了