-
1. Re: Error in installing war with spring mvc on karaf
davsclaus Aug 27, 2013 7:02 AM (in response to ashutosh700_kmr_ashutosh)You should use the JBoss forum for questions about JBoss Fuse
-
2. Re: Error in installing war with spring mvc on karaf
ashutosh700_kmr_ashutosh Aug 27, 2013 8:24 AM (in response to davsclaus)Hi Claus,
Thanks for reply. I tried on apache-servicemix-4.4.1-fuse-03-06 and Here also I am facing same issue.
17:39:11,989 | WARN | l Console Thread | /spring-mvc-smx | 116 - org.eclipse.jetty.util - 7.4.5.fuse20111017 | unavailable
org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: *Unable to locate Spring NamespaceHandler for XML schema namespace http://www.springframework.org/schema/mvc*
Offending resource: ServletContext resource /WEB-INF/mvc-dispatcher-servlet.xml
157] OPS4J Pax Web - API (1.0.3)
158] OPS4J Pax Web - Runtime (1.0.3)
159] OPS4J Pax Web - Service SPI (1.0.3)
160] OPS4J Pax Web - Jetty (1.0.3)
161] OPS4J Pax Web - Extender - Whiteboard (1.0.3)
162] OPS4J Pax Url - war (1.2.6.fuse-01)
163] OPS4J Pax Web - Extender - WAR (1.0.3)
164] OPS4J Pax Web - Jsp Support (1.0.3)
165] OPS4J Pax Web - FileInstall Deployer (1.0.3)
-
3. Re: Error in installing war with spring mvc on karaf
ffang Aug 27, 2013 9:38 PM (in response to ashutosh700_kmr_ashutosh)Hi,
A quick question
Did you add necessary spring related Import-Package to your war?
Take a look at to get more details how to deploy war into OSGi container
https://ops4j1.jira.com/wiki/display/ops4j/PaxWebExtender-War-OSGi-fy
Freeman
Edited by: ffang on Aug 28, 2013 1:38 AM