[英]Configuration issue: Unable to locate Spring NamespaceHandler for XML schema namespace [urn:infinispan:config:7.0]
I'm testing infinispan cache embeded mode. 我正在测试infinispan缓存嵌入模式。 but it occurred in springframework.. but it's ok in stand alone mode... 但是它发生在springframework中..但是在独立模式下还可以...
org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Unable to locate Spring NamespaceHandler for XML schema namespace [urn:infinispan:config:7.0]
Offending resource: file [C:\dev\ide\eGovFrameDev-3.5.1-64bit\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\demo\WEB-INF\classes\egovframework\spring\com\context-infinispan.xml]
at org.springframework.beans.factory.parsing.FailFastProblemReporter.error(FailFastProblemReporter.java:70) ~[spring-beans-4.0.9.RELEASE.jar:4.0.9.RELEASE]
at org.springframework.beans.factory.parsing.ReaderContext.error(ReaderContext.java:85) ~[spring-beans-4.0.9.RELEASE.jar:4.0.9.RELEASE]
at org.springframework.beans.factory.parsing.ReaderContext.error(ReaderContext.java:80) ~[spring-beans-4.0.9.RELEASE.jar:4.0.9.RELEASE]
Yes, this might be caused by a classpath issue or missing schema location (see this link for reference ). 是的,这可能是由类路径问题或缺少架构位置引起的(请参阅此链接以获取参考 )。
So, in order to fix this I would advice checking: 因此,为了解决这个问题,我建议您检查一下:
xsi:schemaLocation
s are correct 检查xsi:schemaLocation
是否正确 However if it still doesn't work - could you please paste me your Spring configuration XML as well as your pom (ant or gradle file)? 但是,如果仍然无法使用-您能否将您的Spring配置XML和pom(蚂蚁或gradle文件)粘贴到我身上?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.