You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by Brad Harper <br...@gmail.com> on 2007/07/23 17:04:17 UTC

JAXB Dependency Issue...

I'm attempting to integrate CXF with an existing Spring app and I'm bean
getting instantiation errors on startup... The culprit is
org.apache.cxf.catalot.OASISCatalogManager which references
org.apache.xml.resolver.CatalogManager (which is in the jaxb-xjc-2.0.jar).
Getting a NoClassDefFound on CatalogManager.  I've cracked open
jaxb-xjc-2.0.jar and the folder structure looks a little odd.  I've
restructured that jar to what I *think* it should look like and I've placed
it in a few different places in the classpath and I still get the
NoClassDefFound.  Anyone else seen this? Does the structure of the
jaxb-xjc-2.0.jar included with the dist look normal?

-bh

Re: JAXB Dependency Issue...

Posted by Brad Harper <br...@gmail.com>.
Thanks.  That's it.

-bh

On 7/23/07, Willem Jiang <ni...@iona.com> wrote:
>
> You need to add the xml-resolver-1.2.jar into your class path.
>
> Willem.
> Brad Harper wrote:
> > I'm attempting to integrate CXF with an existing Spring app and I'm bean
> > getting instantiation errors on startup... The culprit is
> > org.apache.cxf.catalot.OASISCatalogManager which references
> > org.apache.xml.resolver.CatalogManager (which is in the
> > jaxb-xjc-2.0.jar).
> > Getting a NoClassDefFound on CatalogManager.  I've cracked open
> > jaxb-xjc-2.0.jar and the folder structure looks a little odd.  I've
> > restructured that jar to what I *think* it should look like and I've
> > placed
> > it in a few different places in the classpath and I still get the
> > NoClassDefFound.  Anyone else seen this? Does the structure of the
> > jaxb-xjc-2.0.jar included with the dist look normal?
> >
> > -bh
> >
>

Re: JAXB Dependency Issue...

Posted by Willem Jiang <ni...@iona.com>.
You need to add the xml-resolver-1.2.jar into your class path.

Willem.
Brad Harper wrote:
> I'm attempting to integrate CXF with an existing Spring app and I'm bean
> getting instantiation errors on startup... The culprit is
> org.apache.cxf.catalot.OASISCatalogManager which references
> org.apache.xml.resolver.CatalogManager (which is in the 
> jaxb-xjc-2.0.jar).
> Getting a NoClassDefFound on CatalogManager.  I've cracked open
> jaxb-xjc-2.0.jar and the folder structure looks a little odd.  I've
> restructured that jar to what I *think* it should look like and I've 
> placed
> it in a few different places in the classpath and I still get the
> NoClassDefFound.  Anyone else seen this? Does the structure of the
> jaxb-xjc-2.0.jar included with the dist look normal?
>
> -bh
>