The axis folks seem to have copied the wsdl4j stuff into their own jar:
[INFO] |  +- axis:axis-wsdl4j:jar:1.5.1:provided

Thus, you have 1.5.1 coming from there but cxf requires 1.6.1.

You COULD try excluding the axis jar above.   That may work.

Dan




On Fri February 13 2009 12:21:45 pm [email protected] wrote:
> Yep that did the trick.  I am creating a JIRA Plugin and Spring is already
> provided so I guess that explains the requirement for declaring the
> dependency.
>
> And now this happens:
>
> 13-Feb-2009 17:20:22 org.apache.cxf.bus.spring.BusApplicationContext
> getConfigResources INFO: No cxf.xml configuration file detected, relying on
> defaults. Exception in thread "main"
> java.lang.IncompatibleClassChangeError: Class com.ibm.wsdl.DefinitionImpl
> does not implement the requested interface
> javax.wsdl.extensions.AttributeExtensible at
> org.apache.cxf.wsdl11.WSDLServiceBuilder.copyExtensionAttributes(WSDLServic
>eBuilder.java:131) at
> org.apache.cxf.wsdl11.WSDLServiceBuilder.buildServices(WSDLServiceBuilder.j
>ava:263) at
> org.apache.cxf.wsdl11.WSDLServiceBuilder.buildServices(WSDLServiceBuilder.j
>ava:182) at
> org.apache.cxf.wsdl11.WSDLServiceFactory.create(WSDLServiceFactory.java:120
>) at
> org.apache.cxf.service.factory.ReflectionServiceFactoryBean.buildServiceFro
>mWSDL(ReflectionServiceFactoryBean.java:324) at
> org.apache.cxf.service.factory.ReflectionServiceFactoryBean.initializeServi
>ceModel(ReflectionServiceFactoryBean.java:420) at
> org.apache.cxf.service.factory.ReflectionServiceFactoryBean.create(Reflecti
>onServiceFactoryBean.java:190) at
> org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.create(JaxWsServiceFac
>toryBean.java:164) at
> org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory.createEndpoint(Abs
>tractWSDLBasedEndpointFactory.java:100) at
> org.apache.cxf.frontend.ClientFactoryBean.create(ClientFactoryBean.java:52)
> at
> org.apache.cxf.frontend.ClientProxyFactoryBean.create(ClientProxyFactoryBea
>n.java:102) at
> org.apache.cxf.jaxws.JaxWsProxyFactoryBean.create(JaxWsProxyFactoryBean.jav
>a:115)
>
> > -----Original Message-----
> > From: Daniel Kulp [mailto:[email protected]]
> > Sent: 13 February 2009 16:56
> > To: [email protected]
> > Cc: Baker, John: IT (LDN)
> > Subject: Re: CXF & Maven
> >
> > I wonder if the lines:
> > > [INFO] |  +- com.octo.captcha:jcaptcha-all:jar:1.0-RC6:provided
> > > [INFO] |  |  +- org.springframework:spring:jar:2.0:provided
> >
> > Might be the issue.
> >
> > Add:
> > groupId:  org.springframework
> > artifactId:   spring
> > version: 2.0.8
> >
> > as a dependency in your pom to force it to use that version
> > instead of 2.0.
> >
> >
> > --
> > Daniel Kulp
> > [email protected]
> > http://www.dankulp.com/blog
>
> _______________________________________________
>
> This e-mail may contain information that is confidential, privileged or
> otherwise protected from disclosure. If you are not an intended recipient
> of this e-mail, do not duplicate or redistribute it by any means. Please
> delete it and any attachments and notify the sender that you have received
> it in error. Unless specifically indicated, this e-mail is not an offer to
> buy or sell or a solicitation to buy or sell any securities, investment
> products or other financial product or service, an official confirmation of
> any transaction, or an official statement of Barclays. Any views or
> opinions presented are solely those of the author and do not necessarily
> represent those of Barclays. This e-mail is subject to terms available at
> the following link: www.barcap.com/emaildisclaimer. By messaging with
> Barclays you consent to the foregoing.  Barclays Capital is the investment
> banking division of Barclays Bank PLC, a company registered in England
> (number 1026167) with its registered office at 1 Churchill Place, London,
> E14 5HP.  This email may relate to or be sent from other members of the
> Barclays Group. _______________________________________________

-- 
Daniel Kulp
[email protected]
http://www.dankulp.com/blog

Reply via email to