While deploying the Java standalone module as bundle which has a dependency with spring modules in Felix osgi container karaf(3.0.3). The spring 3.1.4 version is installed properly and it is imported in the bundle. However, while loading appcontext.xml through classloader. classpathXMLApplicationContext
from the bundle, we are getting,
org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Unable to locate Spring NamespaceHandler for XML schema namespace [http://www.springframework.org/schema/context]
Any help to resolve this issue?
Other details: spring-context is deployed as a seperate bundle in the osigi container(karaf).
Question1: Is it possible to refer the spring-context.xsd from the bundle without any configuration changes?