Re: ant test fails

From: Gili (cowwo..bs.darktech.org)
Date: Mon Aug 29 2005 - 08:28:56 EDT

  • Next message: Gili: "Re: Extending the cache functionality"

            Ah! Turned out to be a missing MySQL driver in the classpath. I'll try
    to find the correct location for this...

    Thanks,
    Gili

    Andrus Adamchik wrote:
    >
    > Just ran tests on the fresh CVS checkout and everything works fine. I
    > used Java 1.4.2_08 and Ant 1.6.3.
    >
    > I suspect that NoClassDefFoundError is a result of some other failure
    > in a static initializer for CayenneTestCase. Check out JUnit XML output
    > file for the first failed test. It should be under <cayenne-
    > checkout-dir>/build/test/out/internal_embedded_datasource/ . It may
    > contain the information about the real cause of the error.
    >
    > Andrus
    >
    > On Aug 29, 2005, at 7:32 AM, Gili wrote:
    >
    >> Hi,
    >>
    >> I tried "ant test" as mentioned on your website and I get:
    >>
    >> java.lang.NoClassDefFoundError:
    >> org.objectstyle.cayenne.unit.CayenneTestCase at
    >> java.lang.Class.forName0(Native Method) at java.lang.Class.forName
    >> (Class.java:164)
    >>
    >> I noticed cayenne-tests.jar is missing from the classpath. Any
    >> idea how to fix this?
    >>
    >> Thanks,
    >> Gili
    >> --
    >> http://www.desktopbeautifier.com/
    >>
    >>
    >
    >

    -- 
    http://www.desktopbeautifier.com/
    



    This archive was generated by hypermail 2.0.0 : Mon Aug 29 2005 - 08:28:56 EDT