I am afraid we will have to abandon our effort to get CXF in our project if we can not go past this issue.
If any one has any suggestion, please advise Thanks > -----Original Message----- > From: Sureka, Sushil [mailto:[EMAIL PROTECTED] > Sent: Monday, September 10, 2007 4:57 PM > To: [email protected] > Subject: NameSpaceHandling error > > I am just trying to do a very simple web service using Spring > but have run into an issue. I get the following excpetion > when weblogic is starting up > > SEVERE: Context initialization failed > org.springframework.beans.factory.parsing.BeanDefinitionParsin > gException > : Config > uration problem: Unable to locate NamespaceHandler for > namespace [http://cxf.apa che.org/jaxws] Offending resource: > ServletContext resource [/WEB-INF/beans.xml] > > at > org.springframework.beans.factory.parsing.FailFastProblemReporter.err > or(FailFastProblemReporter.java:68) > at > org.springframework.beans.factory.parsing.ReaderContext.error(ReaderC > ontext.java:85) > at > org.springframework.beans.factory.parsing.ReaderContext.error(ReaderC > ontext.java:80) > at > org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.er > ror(BeanDefinitionParserDelegate.java:261) > at > org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.pa > rseCustomElement(BeanDefinitionParserDelegate.java:1111) > at > org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.pa > rseCustomElement(BeanDefinitionParserDelegate.java:1104) > at > org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentRe > .......................... > > > There are number of warnings on these lines before the actual > error occurs > WARNING: Ignoring namespace handler > [org.apache.cxf.binding.soap.spring.Namespac > eHandler]: problem with handler class file or dependent class > java.lang.NoClassDefFoundError: > org/apache/cxf/binding/soap/spring/NamespaceHand > ler : org/springframework/beans/factory/xml/NamespaceHandlerSupport > at > java.lang.ClassLoader.defineClass(Ljava.lang.String;[BIILjava.securit > y.ProtectionDomain;)Ljava.lang.Class;(Unknown Source) > at > java.security.SecureClassLoader.defineClass(SecureClassLoader.java:12 > > > Here is the simple bean.xml file > <beans xmlns="http://www.springframework.org/schema/beans" > > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > > xmlns:jaxws="http://cxf.apache.org/jaxws" > > xsi:schemaLocation=" > > http://www.springframework.org/schema/beans > http://www.springframework.org/schema/beans/spring-beans.xsd > > http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd"> > > <import resource="classpath:META-INF/cxf/cxf.xml" /> > > <import resource="classpath:META-INF/cxf/cxf-extension-soap.xml" /> > > <import resource="classpath:META-INF/cxf/cxf-servlet.xml" /> > > <jaxws:endpoint > > id="helloWorld" > > implementor="demo.spring.HelloWorldImpl" > > address="/HelloWorld" /> > > </beans> > > > > Any idea what am I doing wrong here. (I did append the cxf > jar in front of weblogic classpath to get rid of portType not > found error). I'm using weblogic 9.2 > > Thanks > > Sushil > >
