I am trying to deploy a web service on jboss 6. I have deleted all cxf jar from the service war file, to avoid class loading issues. Then i coppied the appropriate sring jar file into common/lib.
However when i try to deploy the war file it throws the following exception:
21:11:10,365 ERROR [org.springframework.web.context.ContextLoader] Context initialization failed: org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from class path resource [appContext.xml]; nested exception is org.springframework.beans.FatalBeanException: Class [org.apache.cxf.jaxws.spring.NamespaceHandler] for namespace [http://cxf.apache.org/jaxws] does not implement the [org.springframework.beans.factory.xml.NamespaceHandler] interface
what is the matter with that? Any ideas?
Found the answer. When copying the spring jars into common/lib, we have to delete all the relative to spring jars, from our war package. Again, class loading issue.
When facing a similar problem, don't do the same mistake with me. That is, don't ask questions to the community, try to address the class loading problem first.
|Retrieving data ...|