简体   繁体   中英

Unable to locate Spring NamespaceHandler for XML schema namespace [http://www.springframework.org/schema/osgi]

I have following exception during Spring initialization:

Caused by: org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Unable to locate Spring NamespaceHandler for XML schema namespace [http://www.springframework.org/schema/osgi]
Offending resource: OSGi resource[bundleentry://104.fwk32582392/META-INF/varaza/extender/extender-context.xml|bnd.id=103|bnd.sym=com.pearlox.varaza]

How can I determine which JAR (which Maven artifact contains definition of proper NamespaceHandler for [http://www.springframework.org/schema/osgi] ? What my strategy of fixing this should look like?

What else have I to include into my question to help you understand the situation? (please comment)

PS: I see lots of similar questions here on StackOverflow related to other libraries but answer depends on particular namespace.

由于已添加OSGi名称空间,因此只能将其初始化为osgi容器,因此无法使用mvn install运行它。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM