Re: Ant build in Eclipse fails with ClassCastException

From: Shrisha Radhakrishna (shrish..ffigent.com)
Date: Wed Jul 23 2003 - 13:59:27 EDT

  • Next message: Harald Niesche: "Re: Slowdown with opening files after upgrading to WOLips 1.0.4"

    Hi Ulrich,

    I first tried without jdom.jar in /Library/Java/Extensions. It complained
    of:
    BUILD FAILED: Unable to load default ProjectHelper due to
    java.lang.NoClassDefFoundError: org/xml/sax/SAXException

    Now, if I rmeove jdom.jar I get a ClassCastException.

    BTW, you helped me figure out earlier that presence of xerces.jar in
    /Library/Java/Extensions was preventing Eclipse from even coming up.

    Thanks,
    Shrisha

    > From: Ulrich Köster <ulric..bjectstyle.org>
    > Date: Wed, 23 Jul 2003 18:59:54 +0200
    > To: Shrisha Radhakrishna <shrish..ffigent.com>
    > Cc: <woproject-de..bjectstyle.org>
    > Subject: Re: Ant build in Eclipse fails with ClassCastException
    >
    > Hi Shrisha,
    >
    > this seems to be version mismatch. Remove xerces, jdom and other xml
    > stuff from the classpath. Take a look in extension foldes of the jvm.
    >
    > Ulrich
    > On Mittwoch, 23. Juli 2003, at 18:39 Uhr, Shrisha Radhakrishna wrote:
    >
    >> Hi,
    >>
    >> This is my first attempt at getting my WOApp to build (and run) in
    >> Eclipse.
    >> When I run ant, it aborts with:
    >>
    >> BUILD FAILED: java.lang.ClassCastException:
    >> org.apache.xerces.jaxp.SAXParserFactoryImpl
    >>
    >> I'm using Eclipse 2.1.1 and WOLips 1.0.4.
    >>
    >> Any ideas what I might be missing? I do see xerces.jar installed in
    >> the
    >> plugins directory. Some kind of version mismatch?
    >>
    >> Thanks,
    >> Shrisha
    >>
    >



    This archive was generated by hypermail 2.0.0 : Wed Jul 23 2003 - 13:57:10 EDT