Re: Trunk failing to build

From: Andrus Adamchik (andru..bjectstyle.org)
Date: Sat Oct 20 2007 - 14:36:22 EDT

  • Next message: Kevin Menard: "Re: Trunk failing to build"

    > MacOS X 10.4 (intel) Java 5
    > Maven 2.0.7

    Same here. I was still on mvn 2.0.6, but I upgraded. I can get past
    compiling cayenne-jdk1.4-unpublished, although now my build fails in
    itests in jpa-chapter5, something related to the forced upgrade of
    OpenEJB/Geronimo. So I have that new error to figure out:

    21:30:54,858 FATAL [startup] OpenEJB has encountered a fatal error
    and cannot be started: The Assembler encountered an unexpected error
    while attempting to build the container system.
    java.lang.NoSuchMethodError:
    org.apache.geronimo.connector.outbound.GenericConnectionManager.<init>
    (Lorg/apache/geronimo/connector/outbound/connectionmanagerconfig/
    TransactionSupport;Lorg/apache/geronimo/connector/outbound/
    connectionmanagerconfig/PoolingSupport;ZLorg/apache/geronimo/
    connector/outbound/connectiontracking/ConnectionTracker;Ljavax/
    transaction/TransactionManager;Ljava/lang/String;Ljava/lang/
    ClassLoader;)V
             at
    org.apache.openejb.resource.GeronimoConnectionManagerFactory.create
    (GeronimoConnectionManagerFactory.java:158)

    > /Users/kmenard/dev/cayenne/framework/cayenne-jdk1.4-unpublished/src/
    > main/jav
    > a/org/apache/cayenne/ejbql/parser/Node.java:[29,7] duplicate class:
    > org.apache.cayenne.ejbql.parser.Node

    Could you check where this is coming from? It seems to be the root
    cause messing up everything else...

    Andrus

    On Oct 20, 2007, at 9:12 PM, Kevin Menard wrote:

    > MacOS X 10.4 (intel) Java 5
    > Maven 2.0.7
    >
    > This is the exact configuration I was using with everything working
    > fine a
    > week ago. So, the only two things that I think could have happened
    > are a
    > change in the code or a change in one of the maven plugins.
    > Unfortunately,
    > I don't know exactly what versions of those I was running last week.
    >
    > Perhaps you could try running "mvn -U clean compile"? If it
    > breaks, we'll
    > have some fun figuring it out, but at least we can either point at
    > a maven
    > plugin or a code change.
    >
    > --
    > Kevin
    >
    >
    > On 10/20/07 1:40 PM, "Andrus Adamchik" <andru..bjectstyle.org> wrote:
    >
    >> Strange. What Java and Maven version are you using?
    >>
    >> Andrus
    >>
    >> On Oct 20, 2007, at 4:51 PM, Kevin Menard wrote:
    >>
    >
    >



    This archive was generated by hypermail 2.0.0 : Sat Oct 20 2007 - 14:36:56 EDT