我有一个用Java编写的服务器api和用flex编写的客户端,我正在尝试使用GraniteDS将它们一起配置。但是,当尝试添加此行时:
<graniteds:flex-filter url-pattern="/*"/>
到 ApplicationContext.xml - 然后在尝试将我的 webapp(通过 glassfish)部署到服务器时出现此错误:
org.apache.catalina.LifecycleException: org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 86 in XML document from ServletContext resource [/WEB-INF/commonContext.xml] is invalid; nested exception is org.xml.sax.SAXParseException: cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'graniteds:flex-filter'.
任何想法可能是什么问题?