I am trying to install a war with spring mvc . I am getting error " Unable to locate Spring NamespaceHandler for XML schema namespace [http://www.springframework.org/schema/mvc" .
I have following bundles installed
112] Active [ ] [ ] 50 camel-spring (2.10.0.redhat-60024)
113] Active [ ] [ ] 30 Spring Web Servlet (3.1.3.RELEASE)
114] Active [ ] [ ] 30 Spring Web (3.1.3.RELEASE)
253] Active [ ] [ ] 50 Apache XBean :: Spring (3.12.0)
264] Active [ ] [ ] 60 spring-osgi-web (1.1.2)
187] Active Created [ ] 30 Apache Karaf :: Management :: MBeans :: Web (2.3.0.redhat-60024)
222] Active [ ] [ ] 30 OPS4J Pax Web - Jsp Support (1.1.11)
223] Active [ ] [ ] 30 OPS4J Pax Web - Extender - WAR (1.1.11)
224] Active [ ] [ ] 30 OPS4J Pax Web - FileInstall Deployer (1.1.11)
225] Active Created [ ] 30 Apache Karaf :: Shell :: Web Commands (2.3.0.redhat-60024)
226] Active [ ] [ ] 30 OPS4J Pax Url - war (1.3.6)
Any help is appreciated.
Hi,
A quick question
Did you add necessary spring related Import-Package to your war?
Take a look at [1] to get more details how to deploy war into OSGi container
[1]Pax Web Extender - War - OSGi-fy - OPS4J - OPS4J Wiki
Freeman