Note that there are some explanatory texts on larger screens.

plurals
  1. POspring webservice Invalid NamespaceHandler problem (jaxws)
    text
    copied!<p>I am building a web service with spring. I can build and deploy the project to tomcat but when the server starts up I am getting following error:</p> <blockquote> <p>Invalid NamespaceHandler class [org.apache.cxf.jaxws.spring.NamespaceHandler] for namespace [http://cxf.apache.org/jaxws]: problem with handler class file or dependent class; nested exception is java.lang.NoClassDefFoundError: org/springframework/beans/factory/xml/NamespaceHandlerSupport</p> </blockquote> <p>I have already included the cxf-rt-frontend-jaxws.jar in my classpath.</p> <p>My bean definition are here:</p> <pre><code> &lt;jaxws:endpoint id="helloWebservice" implementor="#com.xxx.impl.HelloWebserviceImpl" address="/hellows"&gt; &lt;/jaxws:endpoint&gt; </code></pre> <p>My lib folder contains(WEB-INF/lib):</p> <pre><code>antlr-2.7.6.jar asinus-api.jar asinus-ri.jar aspectjrt.jar aspectjweaver.jar backport-util-concurrent-3.0.jar cglib-nodep-2.1_3.jar commons-beanutils-1.6.jar commons-codec-1.4.jar commons-collections-3.2.1.jar commons-fileupload-1.2.jar commons-httpclient-3.1.jar commons-io-1.4.jar commons-lang-2.4.jar commons-logging-1.1.1.jar com.springsource.javax.validation-1.0.0.GA.jar com.springsource.org.aopalliance-1.0.0.jar dom4j-1.6.1.jar ehcache-core-1.7.2.jar ezmorph-1.0.4.jar freemarker-2.3.15.jar hibernate3.jar hibernate-validator-4.0.2.GA.jar javassist.jar jdom.jar jpa-api-2.0-cr-1.jar json-lib-2.2.jar jta-spec1_0_1.jar lib.txt log4j-1.2.15.jar memcached-2.4.2.jar org.springframework.aop-3.0.2.RELEASE.jar org.springframework.asm-3.0.2.RELEASE.jar org.springframework.aspects-3.0.2.RELEASE.jar org.springframework.beans-3.0.2.RELEASE.jar org.springframework.context-3.0.2.RELEASE.jar org.springframework.context.support-3.0.2.RELEASE.jar org.springframework.core-3.0.2.RELEASE.jar org.springframework.expression-3.0.2.RELEASE.jar org.springframework.jdbc-3.0.2.RELEASE.jar org.springframework.orm-3.0.2.RELEASE.jar org.springframework.test-3.0.2.RELEASE.jar org.springframework.transaction-3.0.2.RELEASE.jar org.springframework.web-3.0.2.RELEASE.jar owasp.jar quartz-1.7.3.jar rome-1.0.jar slf4j-api-1.5.6.jar slf4j-log4j12-1.5.6.jar spring-modules-cache.jar </code></pre> <p>and my external jars:</p> <pre><code>cxf-2.2.5.jar geronimo-activation_1.1_spec-1.0.2.jar geronimo-jaxws_2.1_spec-1.0.jar geronimo-ws-metadata_2.0_spec-1.1.2.jar jaxb-api-2.1.jar jaxb-impl-2.1.12.jar neethi-2.0.4.jar saaj-api-1.3.jar saaj-impl-1.3.2.jar stax-api-1.0.1.jar wsdl4j-1.6.2.jar wss4j-1.5.8.jar wstx-asl-3.2.9.jar xml-resolver-1.2.jar XmlSchema-1.4.5.jar xmlsec-1.4.3.jar WEB-INF/lib/cxf-rt-frontend-jaxws.jar </code></pre>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload