The prefix "mvc" for element "mvc:view-controller" is not bound.
2015-01-21 20:09
836 查看
spring-mvc.xml配置出了问题
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:p="http://www.springframework.org/schema/p"
xmlns:context="http://www.springframework.org/schema/context"
xmlns:mvc="http://www.springframework.org/schema/mvc"
xsi:schemaLocation="
http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd
http://www.springframework.org/schema/context
http://www.springframework.org/schema/context/spring-context-4.0.xsd
http://www.springframework.org/schema/mvc
http://www.springframework.org/schema/mvc/spring-mvc-4.0.xsd">
替换上就好了
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:p="http://www.springframework.org/schema/p"
xmlns:context="http://www.springframework.org/schema/context"
xmlns:mvc="http://www.springframework.org/schema/mvc"
xsi:schemaLocation="
http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd
http://www.springframework.org/schema/context
http://www.springframework.org/schema/context/spring-context-4.0.xsd
http://www.springframework.org/schema/mvc
http://www.springframework.org/schema/mvc/spring-mvc-4.0.xsd">
替换上就好了
相关文章推荐
- The prefix "mvc" for element "mvc:view-controller" is not bound.
- The prefix "mvc" for element "mvc:annotation-driven" is not bound 的解决方法
- springMVC- The prefix "mvc" for element "mvc:annotation-driven" is not bound 解决方法
- The prefix "mvc" for element "mvc:annotation-driven" is not bound 的解决方法
- shiro用户授权的时候,在springmvc.xml配置出现The prefix "aop" for element "aop:config" is not bound.
- The prefix "tx" for element "tx:advice" is not bound 错误的说明
- The prefix "context" for element "context:component-scan" is not bound.
- The prefix "mvc" for element "mvc:annotation-driven" is not bound 的解决方法
- 错误提示:The prefix "aop" for element "aop:config" is not bound.
- The prefix "mvc" for element "mvc:annotation-driven" is not bound 的解决方法
- The prefix "tx" for element "tx:advice" is not bound 错误的说明
- The prefix "tx" for element "tx:advice" is not bound 错误的说明
- the prefix "tx" for element "tx:annotation-driven" is not bound
- The prefix "tx" for element "tx:advice" is not bound 错误的说明
- Spring配置文件标签报错:The prefix "XXX" for element "XXX:XXX" is not bound.
- The prefix "mvc" for element "mvc:annotation-driven" is not bound 的解决方法
- Flex新建组件中添加Style的错误:The prefix "mx" for element "mx:Script" is not bound
- java错误-The prefix "aop" for element "aop:aspectj-autoproxy" is not bound.
- The prefix "mvc" for element "mvc:annotation-driven" is not bound 的解决方法
- 报错:The prefix "context" for element "context:annotation-config" is not bound.