Return-Path: Delivered-To: apmail-cxf-users-archive@www.apache.org Received: (qmail 68225 invoked from network); 25 Apr 2010 04:27:10 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 25 Apr 2010 04:27:10 -0000 Received: (qmail 43547 invoked by uid 500); 25 Apr 2010 04:27:09 -0000 Delivered-To: apmail-cxf-users-archive@cxf.apache.org Received: (qmail 43227 invoked by uid 500); 25 Apr 2010 04:27:07 -0000 Mailing-List: contact users-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@cxf.apache.org Delivered-To: mailing list users@cxf.apache.org Received: (qmail 43219 invoked by uid 99); 25 Apr 2010 04:27:06 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 25 Apr 2010 04:27:06 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,SPF_HELO_PASS,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 25 Apr 2010 04:26:56 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1O5tQQ-00060E-9T for users@cxf.apache.org; Sat, 24 Apr 2010 21:26:34 -0700 Message-ID: <28354298.post@talk.nabble.com> Date: Sat, 24 Apr 2010 21:26:34 -0700 (PDT) From: sabbir To: users@cxf.apache.org Subject: Re: NoClassDefFoundError: javax/xml/rpc/handler/Handler In-Reply-To: <201004232123.23211.dkulp@apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: sabbir.ashraf@gmail.com References: <28345107.post@talk.nabble.com> <201004232123.23211.dkulp@apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Thanks Daniel, I over looked that. :jumping::jumping: dkulp wrote: > > > You are using the old JAX-RPC handler provided by wss4j, not the CXF > interceptor. Change the class name to: > > org.apache.cxf.ws.security.wss4j.WSS4JInInterceptor > > Dan > > On Friday 23 April 2010 2:54:22 pm sabbir wrote: >> My CXF WS client was running fine. >> >> But when i add the security to Service , its showing an rpc error :( ?? >> >> >> >> > > class="org.apache.cxf.binding.soap.saaj.SAAJInInterceptor" /> >> >> >> >> /> >> value="PasswordText" /> >> > value="com....ws.security.WSSecurity" > /> >> >> >> >> >> >> >> >> >> >> org.springframework.beans.factory.CannotLoadBeanClassException: Error >> loading class [org.apache.ws.security.handler.WSS4JHandler] for bean with >> name 'org.apache.ws.security.handler.WSS4JHandler#143073a' defined in >> ServletContext resource [/WEB-INF/applicationContext.xml]: problem with >> class file or dependent class; nested exception is >> java.lang.NoClassDefFoundError: javax/xml/rpc/handler/Handler >> at >> org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanCl >> ass(AbstractBeanFactory.java:1144) at >> org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanCl >> ass(AbstractBeanFactory.java:1105) at >> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactor >> y$1.run(AbstractAutowireCapableBeanFactory.java:386) at >> java.security.AccessController.doPrivileged(Native Method) >> at >> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactor >> y.createBean(AbstractAutowireCapableBeanFactory.java:380) at >> org.springframework.beans.factory.support.BeanDefinitionValueResolver.resol >> veInnerBean(BeanDefinitionValueResolver.java:219) ... 44 more >> Caused by: java.lang.NoClassDefFoundError: javax/xml/rpc/handler/Handler >> at java.lang.ClassLoader.defineClass1(Native Method) >> >> >> >> Pom.xml >> ---------- >> >> >> >> >> org.apache.cxf >> cxf-rt-frontend-jaxws >> 2.2.6 >> >> >> org.apache.cxf >> cxf-rt-transports-http >> 2.2.6 >> >> >> org.apache.cxf >> cxf-rt-transports-http-jetty >> 2.2.6 >> >> >> >> >> org.apache.cxf >> cxf-rt-ws-security >> 2.2.6 >> >> >> org.apache.ws.security >> wss4j >> 1.5.8 >> >> >> >> Please let me know what is the problem here :( . > > -- > Daniel Kulp > dkulp@apache.org > http://dankulp.com/blog > > -- View this message in context: http://old.nabble.com/NoClassDefFoundError%3A-javax-xml-rpc-handler-Handler-tp28345107p28354298.html Sent from the cxf-user mailing list archive at Nabble.com.