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(WSDLServiceBuilder.java:131)
        at 
org.apache.cxf.wsdl11.WSDLServiceBuilder.buildServices(WSDLServiceBuilder.java:263)
        at 
org.apache.cxf.wsdl11.WSDLServiceBuilder.buildServices(WSDLServiceBuilder.java:182)
        at 
org.apache.cxf.wsdl11.WSDLServiceFactory.create(WSDLServiceFactory.java:120)
        at 
org.apache.cxf.service.factory.ReflectionServiceFactoryBean.buildServiceFromWSDL(ReflectionServiceFactoryBean.java:324)
        at 
org.apache.cxf.service.factory.ReflectionServiceFactoryBean.initializeServiceModel(ReflectionServiceFactoryBean.java:420)
        at 
org.apache.cxf.service.factory.ReflectionServiceFactoryBean.create(ReflectionServiceFactoryBean.java:190)
        at 
org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.create(JaxWsServiceFactoryBean.java:164)
        at 
org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory.createEndpoint(AbstractWSDLBasedEndpointFactory.java:100)
        at 
org.apache.cxf.frontend.ClientFactoryBean.create(ClientFactoryBean.java:52)
        at 
org.apache.cxf.frontend.ClientProxyFactoryBean.create(ClientProxyFactoryBean.java:102)
        at 
org.apache.cxf.jaxws.JaxWsProxyFactoryBean.create(JaxWsProxyFactoryBean.java: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.
_______________________________________________

Reply via email to