You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by Jo...@barclayscapital.com on 2009/02/13 16:35:22 UTC
CXF & Maven
Hi,
Does anyone have the dependencies required for CXF & Maven if the sole
purpose is to run a set of Java sources generated from a WSDL?
John
_______________________________________________
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.
_______________________________________________
Re: CXF & Maven
Posted by Edwin Quita <ed...@gmail.com>.
hi John,
these are the dependencies i've used in my pom.xml file for my test
client project:
<dependencies>
<!-- Apache CXF JAX-WS Impl -->
<dependency>
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-rt-frontend-jaxws</artifactId>
<version>2.0.6</version>
</dependency>
<dependency>
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-rt-transports-http</artifactId>
<version>2.0.6</version>
</dependency>
<!-- JUnit -->
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>3.8.1</version>
<scope>test</scope>
</dependency>
</dependencies>
i've also attached the complete pom.xml file.
HTH,
edwin
On Fri, Feb 13, 2009 at 11:35 PM, <Jo...@barclayscapital.com> wrote:
> Hi,
>
> Does anyone have the dependencies required for CXF & Maven if the sole
> purpose is to run a set of Java sources generated from a WSDL?
>
>
> John
> _______________________________________________
>
> 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.
> _______________________________________________
>
RE: CXF & Maven
Posted by Jo...@barclayscapital.com.
And just to clarify, once I removed the JIRA parent plugin, I only needed the two CXF dependencies.
Thanks.
> -----Original Message-----
> From: Baker, John: IT (LDN)
> Sent: 13 February 2009 18:50
> To: dkulp@apache.org
> Cc: users@cxf.apache.org
> Subject: RE: CXF & Maven
>
> Well I gues the answer is not to use a default JIRa plugin!
>
> > -----Original Message-----
> > From: Daniel Kulp [mailto:dkulp@apache.org]
> > Sent: 13 February 2009 18:01
> > To: Baker, John: IT (LDN)
> > Cc: users@cxf.apache.org
> > Subject: Re: CXF & Maven
> >
> > On Fri February 13 2009 12:55:54 pm
> > John.Baker@barclayscapital.com 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()Lo
> > rg/apache/ws/
> > >commons/schema/extensions/ExtensionRegistry; at
> > >
> > org.apache.cxf.common.xmlschema.SchemaCollection.<init>(Schema
> > Collection.ja
> > >va:71) at
> > >
> > org.apache.cxf.common.xmlschema.SchemaCollection.<init>(Schema
> > Collection.ja
> > >va:66)
> > >
> > > > -----Original Message-----
> > > > From: Daniel Kulp [mailto:dkulp@apache.org]
> > > > Sent: 13 February 2009 17:28
> > > > To: Baker, John: IT (LDN)
> > > > Cc: users@cxf.apache.org
> > > > 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
> > > >
> > > > John.Baker@barclayscapital.com 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:dkulp@apache.org]
> > > > > > Sent: 13 February 2009 16:56
> > > > > > To: users@cxf.apache.org
> > > > > > 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
> > > > > > dkulp@apache.org
> > > > > > 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
> > > > dkulp@apache.org
> > > > 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
> > dkulp@apache.org
> > 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.
> _______________________________________________
>
_______________________________________________
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.
_______________________________________________
RE: CXF & Maven
Posted by Jo...@barclayscapital.com.
Well I gues the answer is not to use a default JIRa plugin!
> -----Original Message-----
> From: Daniel Kulp [mailto:dkulp@apache.org]
> Sent: 13 February 2009 18:01
> To: Baker, John: IT (LDN)
> Cc: users@cxf.apache.org
> Subject: Re: CXF & Maven
>
> On Fri February 13 2009 12:55:54 pm
> John.Baker@barclayscapital.com 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()Lo
> rg/apache/ws/
> >commons/schema/extensions/ExtensionRegistry; at
> >
> org.apache.cxf.common.xmlschema.SchemaCollection.<init>(Schema
> Collection.ja
> >va:71) at
> >
> org.apache.cxf.common.xmlschema.SchemaCollection.<init>(Schema
> Collection.ja
> >va:66)
> >
> > > -----Original Message-----
> > > From: Daniel Kulp [mailto:dkulp@apache.org]
> > > Sent: 13 February 2009 17:28
> > > To: Baker, John: IT (LDN)
> > > Cc: users@cxf.apache.org
> > > 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
> > >
> > > John.Baker@barclayscapital.com 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:dkulp@apache.org]
> > > > > Sent: 13 February 2009 16:56
> > > > > To: users@cxf.apache.org
> > > > > 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
> > > > > dkulp@apache.org
> > > > > 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
> > > dkulp@apache.org
> > > 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
> dkulp@apache.org
> 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.
_______________________________________________
Re: CXF & Maven
Posted by Daniel Kulp <dk...@apache.org>.
On Fri February 13 2009 12:55:54 pm John.Baker@barclayscapital.com 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:dkulp@apache.org]
> > Sent: 13 February 2009 17:28
> > To: Baker, John: IT (LDN)
> > Cc: users@cxf.apache.org
> > 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
> >
> > John.Baker@barclayscapital.com 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:dkulp@apache.org]
> > > > Sent: 13 February 2009 16:56
> > > > To: users@cxf.apache.org
> > > > 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
> > > > dkulp@apache.org
> > > > 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
> > dkulp@apache.org
> > 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
dkulp@apache.org
http://www.dankulp.com/blog
RE: CXF & Maven
Posted by Jo...@barclayscapital.com.
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):
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.java:71)
at org.apache.cxf.common.xmlschema.SchemaCollection.<init>(SchemaCollection.java:66)
> -----Original Message-----
> From: Daniel Kulp [mailto:dkulp@apache.org]
> Sent: 13 February 2009 17:28
> To: Baker, John: IT (LDN)
> Cc: users@cxf.apache.org
> 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
> John.Baker@barclayscapital.com 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:dkulp@apache.org]
> > > Sent: 13 February 2009 16:56
> > > To: users@cxf.apache.org
> > > 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
> > > dkulp@apache.org
> > > 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
> dkulp@apache.org
> 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.
_______________________________________________
Re: CXF & Maven
Posted by Daniel Kulp <dk...@apache.org>.
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 John.Baker@barclayscapital.com 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:dkulp@apache.org]
> > Sent: 13 February 2009 16:56
> > To: users@cxf.apache.org
> > 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
> > dkulp@apache.org
> > 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
dkulp@apache.org
http://www.dankulp.com/blog
RE: CXF & Maven
Posted by Jo...@barclayscapital.com.
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:dkulp@apache.org]
> Sent: 13 February 2009 16:56
> To: users@cxf.apache.org
> 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
> dkulp@apache.org
> 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.
_______________________________________________
Re: CXF & Maven
Posted by Daniel Kulp <dk...@apache.org>.
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
dkulp@apache.org
http://www.dankulp.com/blog
RE: CXF & Maven
Posted by Jo...@barclayscapital.com.
It's attached.
> -----Original Message-----
> From: Daniel Kulp [mailto:dkulp@apache.org]
> Sent: 13 February 2009 16:22
> To: users@cxf.apache.org
> Cc: Baker, John: IT (LDN)
> Subject: Re: CXF & Maven
>
> Hmm... strange.
>
> Can you run mvn dependency:tree
>
> to double check other spring things aren't being pulled in?
>
> Dan
>
>
> On Fri February 13 2009 10:59:53 am
> John.Baker@barclayscapital.com wrote:
> > Dan,
> >
> > Thanks, I'd added:
> >
> >
> > <dependencies>
> > <dependency>
> > <groupId>org.apache.cxf</groupId>
> >
> > <artifactId>cxf-rt-frontend-jaxws</artifactId>
> > <version>2.1.4</version>
> > </dependency>
> > <dependency>
> > <groupId>org.apache.cxf</groupId>
> >
> > <artifactId>cxf-rt-transports-http</artifactId>
> > <version>2.1.4</version>
> > </dependency>
> > <!-- Jetty is needed if you're are not
> using the CXFServlet
> > -->
> > <dependency>
> > <groupId>org.apache.cxf</groupId>
> >
> > <artifactId>cxf-rt-transports-http-jetty</artifactId>
> > <version>2.1.4</version>
> > </dependency>
> > </dependencies>
> >
> > As per the online manual page. However it fails to start with this
> > Spring related exception;
> >
> >
> > Exception in thread "main" java.lang.RuntimeException:
> > org.springframework.beans.factory.BeanCreationException: Error
> > creating bean with name
> 'org.apache.cxf.bus.spring.BusApplicationListener'
> > defined in URL
> >
> [jar:file:/C:/Documents%20and%20Settings/bakerjoh/.m2/repository/org/a
> > pa
> >
> che/cxf/cxf-rt-core/2.1.4/cxf-rt-core-2.1.4.jar!/META-INF/cxf/cxf.fixm
> > l]
> >
> > : Initialization of bean failed; nested exception is
> >
> > java.lang.NoSuchMethodError:
> >
> org.springframework.context.support.AbstractApplicationContext.addAppl
> > ic ationListener(Lorg/springframework/context/ApplicationListener;)V
> > at
> >
> org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.
> > ja
> > va:96)
> > at
> >
> org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.
> > ja
> > va:86)
> >
> > Spring 2.0.8 has been fetched by maven.
> >
> > Any thoughts?
> >
> >
> > John
> >
> > > -----Original Message-----
> > > From: Daniel Kulp [mailto:dkulp@apache.org]
> > > Sent: 13 February 2009 15:48
> > > To: users@cxf.apache.org
> > > Cc: Baker, John: IT (LDN)
> > > Subject: Re: CXF & Maven
> > >
> > > On Fri February 13 2009 10:35:22 am
> > >
> > > John.Baker@barclayscapital.com wrote:
> > > > Hi,
> > > >
> > > > Does anyone have the dependencies required for CXF & Maven
> > >
> > > if the sole
> > >
> > > > purpose is to run a set of Java sources generated from a WSDL?
> > >
> > > For generated java stuff, you probably just need
> > > cxf-rt-frontend-jaxws.
> > > Everything else should be pulled in transitively from that.
> > >
> > > Dan
> > >
> > > > John
> > > > _______________________________________________
> > > >
> > > > 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
> > > dkulp@apache.org
> > > 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
> dkulp@apache.org
> 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.
_______________________________________________
Re: CXF & Maven
Posted by Daniel Kulp <dk...@apache.org>.
Hmm... strange.
Can you run mvn dependency:tree
to double check other spring things aren't being pulled in?
Dan
On Fri February 13 2009 10:59:53 am John.Baker@barclayscapital.com wrote:
> Dan,
>
> Thanks, I'd added:
>
>
> <dependencies>
> <dependency>
> <groupId>org.apache.cxf</groupId>
>
> <artifactId>cxf-rt-frontend-jaxws</artifactId>
> <version>2.1.4</version>
> </dependency>
> <dependency>
> <groupId>org.apache.cxf</groupId>
>
> <artifactId>cxf-rt-transports-http</artifactId>
> <version>2.1.4</version>
> </dependency>
> <!-- Jetty is needed if you're are not using the
> CXFServlet -->
> <dependency>
> <groupId>org.apache.cxf</groupId>
>
> <artifactId>cxf-rt-transports-http-jetty</artifactId>
> <version>2.1.4</version>
> </dependency>
> </dependencies>
>
> As per the online manual page. However it fails to start with this
> Spring related exception;
>
>
> Exception in thread "main" java.lang.RuntimeException:
> org.springframework.beans.factory.BeanCreationException: Error creating
> bean with name 'org.apache.cxf.bus.spring.BusApplicationListener'
> defined in URL
> [jar:file:/C:/Documents%20and%20Settings/bakerjoh/.m2/repository/org/apa
> che/cxf/cxf-rt-core/2.1.4/cxf-rt-core-2.1.4.jar!/META-INF/cxf/cxf.fixml]
>
> : Initialization of bean failed; nested exception is
>
> java.lang.NoSuchMethodError:
> org.springframework.context.support.AbstractApplicationContext.addApplic
> ationListener(Lorg/springframework/context/ApplicationListener;)V
> at
> org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.ja
> va:96)
> at
> org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.ja
> va:86)
>
> Spring 2.0.8 has been fetched by maven.
>
> Any thoughts?
>
>
> John
>
> > -----Original Message-----
> > From: Daniel Kulp [mailto:dkulp@apache.org]
> > Sent: 13 February 2009 15:48
> > To: users@cxf.apache.org
> > Cc: Baker, John: IT (LDN)
> > Subject: Re: CXF & Maven
> >
> > On Fri February 13 2009 10:35:22 am
> >
> > John.Baker@barclayscapital.com wrote:
> > > Hi,
> > >
> > > Does anyone have the dependencies required for CXF & Maven
> >
> > if the sole
> >
> > > purpose is to run a set of Java sources generated from a WSDL?
> >
> > For generated java stuff, you probably just need
> > cxf-rt-frontend-jaxws.
> > Everything else should be pulled in transitively from that.
> >
> > Dan
> >
> > > John
> > > _______________________________________________
> > >
> > > 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
> > dkulp@apache.org
> > 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
dkulp@apache.org
http://www.dankulp.com/blog
RE: CXF & Maven
Posted by Jo...@barclayscapital.com.
Dan,
Thanks, I'd added:
<dependencies>
<dependency>
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-rt-frontend-jaxws</artifactId>
<version>2.1.4</version>
</dependency>
<dependency>
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-rt-transports-http</artifactId>
<version>2.1.4</version>
</dependency>
<!-- Jetty is needed if you're are not using the
CXFServlet -->
<dependency>
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-rt-transports-http-jetty</artifactId>
<version>2.1.4</version>
</dependency>
</dependencies>
As per the online manual page. However it fails to start with this
Spring related exception;
Exception in thread "main" java.lang.RuntimeException:
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'org.apache.cxf.bus.spring.BusApplicationListener'
defined in URL
[jar:file:/C:/Documents%20and%20Settings/bakerjoh/.m2/repository/org/apa
che/cxf/cxf-rt-core/2.1.4/cxf-rt-core-2.1.4.jar!/META-INF/cxf/cxf.fixml]
: Initialization of bean failed; nested exception is
java.lang.NoSuchMethodError:
org.springframework.context.support.AbstractApplicationContext.addApplic
ationListener(Lorg/springframework/context/ApplicationListener;)V
at
org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.ja
va:96)
at
org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.ja
va:86)
Spring 2.0.8 has been fetched by maven.
Any thoughts?
John
> -----Original Message-----
> From: Daniel Kulp [mailto:dkulp@apache.org]
> Sent: 13 February 2009 15:48
> To: users@cxf.apache.org
> Cc: Baker, John: IT (LDN)
> Subject: Re: CXF & Maven
>
> On Fri February 13 2009 10:35:22 am
> John.Baker@barclayscapital.com wrote:
> > Hi,
> >
> > Does anyone have the dependencies required for CXF & Maven
> if the sole
> > purpose is to run a set of Java sources generated from a WSDL?
>
> For generated java stuff, you probably just need
> cxf-rt-frontend-jaxws.
> Everything else should be pulled in transitively from that.
>
> Dan
>
>
>
> >
> >
> > John
> > _______________________________________________
> >
> > 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
> dkulp@apache.org
> 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.
_______________________________________________
Re: CXF & Maven
Posted by Daniel Kulp <dk...@apache.org>.
On Fri February 13 2009 10:35:22 am John.Baker@barclayscapital.com wrote:
> Hi,
>
> Does anyone have the dependencies required for CXF & Maven if the sole
> purpose is to run a set of Java sources generated from a WSDL?
For generated java stuff, you probably just need cxf-rt-frontend-jaxws.
Everything else should be pulled in transitively from that.
Dan
>
>
> John
> _______________________________________________
>
> 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
dkulp@apache.org
http://www.dankulp.com/blog