web.xml中报错:
<!-- 自动扫描的包名 -->
<context:component-scan base-package="com.Ace.controller"></context:component-scan>
<!-- 默认的注解映射的支持 -->
<mvc:annotation-driven />———————————————————————————————————————这里波浪线报错!!
解决方法
在web.xml上面的命名空间中添加:xmlns:mvc="http://www.springframework.org/schema/mvc"
也就是说,提示prefix "mvc" not bound,就添加xmlns:mvc,
提示prefix "context" not bound,就添加xmlns:context,其他都是类似。