Uploaded image for project: 'JBoss Enterprise Application Platform 4 and 5'
  1. JBoss Enterprise Application Platform 4 and 5
  2. JBPAPP-6904

Seam 2's build dependencies don't match EAP

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Minor Minor
    • TBD EAP 4
    • 4.3.0.GA_CP10
    • Seam2
    • None

      During Seam 2 compilation of EAP 4.3.10.ER1, the following error is thrown:

      compilecore:
          [javac] Compiling 503 source files to JBOSS_EAP_DIR-src/seam2/classes/coreclasses
          [javac] jboss-eap-src/seam2/src/main/org/jboss/seam/persistence/HibernateSessionProxy.java:671: cannot find symbol
          [javac] symbol  : method registerInsertedKey(org.hibernate.persister.entity.EntityPersister,java.io.Serializable)
          [javac] location: interface org.hibernate.engine.SessionImplementor
          [javac]       getDelegateSessionImplementor().registerInsertedKey(arg0, arg1);      
          [javac]                                      ^
          [javac] jboss-eap-src/seam2/src/main/org/jboss/seam/persistence/HibernateSessionProxy.java:675: cannot find symbol
          [javac] symbol  : method wasInsertedDuringTransaction(org.hibernate.persister.entity.EntityPersister,java.io.Serializable)
          [javac] location: interface org.hibernate.engine.SessionImplementor
          [javac]       return getDelegateSessionImplementor().wasInsertedDuringTransaction(arg0, arg1);
          [javac]        
          [javac] Note: Some input files use or override a deprecated API.
          [javac] Note: Recompile with -Xlint:deprecation for details.
          [javac] Note: Some input files use unchecked or unsafe operations.
          [javac] Note: Recompile with -Xlint:unchecked for details.
          [javac] 2 errors
      Buildfile: build.xml
      

      The reason for this is that Seam2/build/root.pom.xml has a dependency to hibernate:hibernate3:3.2.4.SP1_CP10-brew, which doesn't contain the above-mentioned methods. In EAP however, there is hibernate 3.2.4.SP1_CP12 (including these methods).

              mnovotny@redhat.com Marek Novotny
              oskutka@redhat.com Ondrej Skutka
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: