On Fri February 13 2009 12:55:54 pm [email protected] wrote: > Yep, you're right, and now I get the following (which makes me think > perhaps this is going to be tedious if developed inside a JIRA plugin):
That one is: org.apache.ws.commons:XmlSchema:jar:1.1:provided compared to: org.apache.ws.commons.schema:XmlSchema:jar:1.4.3:compile Definitely doesn't look fun though. I'm seeing old versions of Xerces (2.6.2), older SAAJ stuff (axis:axis-saaj), xfire stuff, etc.... All could be potential issues. :-( Dan > > INFO: No cxf.xml configuration file detected, relying on defaults. > Exception in thread "main" java.lang.NoSuchMethodError: > org.apache.ws.commons.schema.XmlSchemaCollection.getExtReg()Lorg/apache/ws/ >commons/schema/extensions/ExtensionRegistry; at > org.apache.cxf.common.xmlschema.SchemaCollection.<init>(SchemaCollection.ja >va:71) at > org.apache.cxf.common.xmlschema.SchemaCollection.<init>(SchemaCollection.ja >va:66) > > > -----Original Message----- > > From: Daniel Kulp [mailto:[email protected]] > > Sent: 13 February 2009 17:28 > > To: Baker, John: IT (LDN) > > Cc: [email protected] > > Subject: Re: CXF & Maven > > > > > > 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.copyExtensionAttribu > > > > tes(WSDLSe > > > > >rvic > > >eBuilder.java:131) at > > > > > >org.apache.cxf.wsdl11.WSDLServiceBuilder.buildServices(WSDLSe > > > > rviceBuild > > > > >er.j > > >ava:263) at > > > > > >org.apache.cxf.wsdl11.WSDLServiceBuilder.buildServices(WSDLSe > > > > rviceBuild > > > > >er.j > > >ava:182) at > > > > > >org.apache.cxf.wsdl11.WSDLServiceFactory.create(WSDLServiceFa > > > > ctory.java > > > > >:120 > > > > > >) at > > > > > >org.apache.cxf.service.factory.ReflectionServiceFactoryBean.b > > > > uildServic > > > > >eFro > > >mWSDL(ReflectionServiceFactoryBean.java:324) at > > >org.apache.cxf.service.factory.ReflectionServiceFactoryBean.i > > > > nitializeS > > > > >ervi > > >ceModel(ReflectionServiceFactoryBean.java:420) at > > >org.apache.cxf.service.factory.ReflectionServiceFactoryBean.c > > > > reate(Refl > > > > >ecti > > >onServiceFactoryBean.java:190) at > > > > > >org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.create(J > > > > axWsServic > > > > >eFac > > >toryBean.java:164) at > > > > > >org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory.crea > > > > teEndpoint > > > > >(Abs > > >tractWSDLBasedEndpointFactory.java:100) at > > > > > >org.apache.cxf.frontend.ClientFactoryBean.create(ClientFactor > > > > yBean.java > > > > >:52) > > > > > > at > > > > > >org.apache.cxf.frontend.ClientProxyFactoryBean.create(ClientP > > > > roxyFactor > > > > >yBea > > >n.java:102) at > > > > > >org.apache.cxf.jaxws.JaxWsProxyFactoryBean.create(JaxWsProxyF > > > > actoryBean > > > > >.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 > > _______________________________________________ > > 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
