Uploaded image for project: 'Tapestry 5'
  1. Tapestry 5
  2. TAP5-2582

Service creation for Hibernate Session results in ClassFormatError: Duplicate method name&signature

    XMLWordPrintableJSON

Details

    Description

      Hi, this report is for

      tapestry-ioc 5.4.3
      hibernate-core 5.2.10.Final
      openjdk version "1.8.0_121"
      OpenJDK Runtime Environment (build 1.8.0_121-8u121-b13-0ubuntu1.16.04.2-b13)
      OpenJDK 64-Bit Server VM (build 25.121-b13, mixed mode)

      I'm trying to have a Service for a hibernate Session:

      public static Session buildHibernateSession(
          ObjectLocator objectLocator
      ) {
          return new Configuration()
              .configure("hibernate.cfg.xml")
              .buildSessionFactory()
              .openSession();
      }
      

      As soon as the Hibernate Session is invoked by Tapestry-IOC, I get an
      error: java.lang.ClassFormatError: Duplicate method name&signature in
      class file $Session_350f95bde0b5

      Attachments

        1. pom.xml
          8 kB
          Jens Potschadtke
        2. TAP-2482-test.patch
          1 kB
          Hendrik Noot
        3. TAP5-2582_fix_duplicate_method_problem.patch
          4 kB
          Hendrik Noot
        4. TAP5-2582_removed_some_probably_dead_code_in_PlasticClassImpl.patch
          5 kB
          Hendrik Noot
        5. TAP5-2582-test.patch
          1 kB
          Hendrik Noot

        Activity

          People

            thiagohp Thiago Henrique De Paula Figueiredo
            thomas303 Thomas Mayer
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: