0
"<mvc:annotation-driven enable-matrix-variables="true"/>
<context:component-scan base-package="Controllers" />"
它給了我下面的錯誤信息:我想啓用矩陣變量,但它讓我看到消息
org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 18 in XML document from ServletContext resource [/WEB-INF/appDispatcher-servlet.xml] is invalid;
nested exception is org.xml.sax.SAXParseException; lineNumber: 18; columnNumber: 59; cvc-complex-type.3.2.2: Attribute 'enable-matrix-variables' is not allowed to appear in element 'mvc:annotation-driven'.
您使用的是什麼Spring Framework版本? – 2014-11-03 07:32:37
@ Serge Ballesta'Spring 3.2.4' – 2014-11-03 07:35:54
'請給答' – 2014-11-03 07:45:03