Build Failures?

From: Michael Gentry (blacknex..mail.com)
Date: Wed Feb 07 2007 - 08:57:57 EST

  • Next message: Andrus Adamchik: "Re: Build Failures?"

    Does a "mvn install" currently build for others? Whenever I try it
    (or to build the Mac DMG), I get:

    [INFO] ----------------------------------------------------------------------------
    [INFO] Building Cayenne JPA Unpublished
    [INFO] task-segment: [install]
    [INFO] ----------------------------------------------------------------------------
    [INFO] [resources:resources]
    [INFO] Using default encoding to copy filtered resources.
    [INFO] [compiler:compile]
    [INFO] Nothing to compile - all classes are up to date
    [INFO] [resources:testResources]
    [INFO] Using default encoding to copy filtered resources.
    [INFO] [compiler:testCompile]
    [INFO] Nothing to compile - all classes are up to date
    [INFO] [surefire:test]
    [INFO] Surefire report directory:
    /usr/local/mrg/Projects/eclipse/workspace/Cayenne30/framework/cayenne-jpa-unpublished/target/surefire-reports
    org.apache.maven.surefire.booter.SurefireExecutionException:
    org/apache/cayenne/jpa/JpaEntityManagerFactory; nested exception is
    java.lang.NoClassDefFoundError:
    org/apache/cayenne/jpa/JpaEntityManagerFactory
    java.lang.NoClassDefFoundError: org/apache/cayenne/jpa/JpaEntityManagerFactory
            at java.lang.Class.getDeclaredMethods0(Native Method)
            at java.lang.Class.privateGetDeclaredMethods(Class.java:2365)
            at java.lang.Class.getMethod0(Class.java:2611)
            at java.lang.Class.getMethod(Class.java:1579)
            at org.apache.maven.surefire.junit.JUnitTestSet.createInstanceFromSuiteMethod(JUnitTestSet.java:173)
            at org.apache.maven.surefire.junit.JUnitTestSet.constructTestObject(JUnitTestSet.java:137)
            at org.apache.maven.surefire.junit.JUnitTestSet.getTestCount(JUnitTestSet.java:244)
            at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.locateTestSets(AbstractDirectoryTestSuite.java:101)
            at org.apache.maven.surefire.Surefire.createSuiteFromDefinition(Surefire.java:147)
            at org.apache.maven.surefire.Surefire.run(Surefire.java:108)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:585)
            at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:225)
            at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:747)
    [INFO] ------------------------------------------------------------------------
    [ERROR] BUILD FAILURE
    [INFO] ------------------------------------------------------------------------

    Just curious if it is isolated to me or something. Thanks!

    /dev/mrg



    This archive was generated by hypermail 2.0.0 : Wed Feb 07 2007 - 08:58:31 EST