mvc:annotation-driven is not bound

后端 未结 7 1085
佛祖请我去吃肉
佛祖请我去吃肉 2021-02-02 11:23

I get this error when I run a certain Spring Web 3 project in NetBeans:

org.xml.sax.SAXParseException; lineNumber: 11; columnNumber: 30; The prefix \"

7条回答
  •  灰色年华
    2021-02-02 11:50

    You are probably missing some significant portion of the namespace declaration, as discussed here: http://forum.springsource.org/showthread.php?100397-The-prefix-mvc-for-element-mvc-annotation-driven-is-notbound

    It does not effect runtime, but the development environment will suffer with similar problems as you describe.

    I guess it should go this way: http://www.springframework.org/schema/aop/spring-aop-3.0.xsd

提交回复
热议问题