You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by "Hudson (Jira)" <ji...@apache.org> on 2020/02/21 23:51:00 UTC

[jira] [Commented] (TAP5-2582) Service creation for Hibernate Session results in ClassFormatError: Duplicate method name&signature

    [ https://issues.apache.org/jira/browse/TAP5-2582?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17042248#comment-17042248 ] 

Hudson commented on TAP5-2582:
------------------------------

FAILURE: Integrated in Jenkins build tapestry-trunk-freestyle-java-9 #29 (See [https://builds.apache.org/job/tapestry-trunk-freestyle-java-9/29/])
TAP5-2588, TAP5-2582: handling default methods the right way (thiago: rev 690adf55ddfed19fffea51ea4284677d9440c454)
* (edit) plastic/src/main/java/org/apache/tapestry5/internal/plastic/PlasticClassImpl.java


> Service creation for Hibernate Session results in ClassFormatError: Duplicate method name&signature
> ---------------------------------------------------------------------------------------------------
>
>                 Key: TAP5-2582
>                 URL: https://issues.apache.org/jira/browse/TAP5-2582
>             Project: Tapestry 5
>          Issue Type: Bug
>          Components: tapestry-ioc
>    Affects Versions: 5.4.3
>            Reporter: Thomas Mayer
>            Assignee: Thiago Henrique De Paula Figueiredo
>            Priority: Major
>              Labels: duplicate,method, hibernate, interface, ioc
>             Fix For: 5.4.5
>
>         Attachments: pom.xml
>
>
> 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:
> {code:java}
> public static Session buildHibernateSession(
>     ObjectLocator objectLocator
> ) {
>     return new Configuration()
>         .configure("hibernate.cfg.xml")
>         .buildSessionFactory()
>         .openSession();
> }
> {code}
> 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



--
This message was sent by Atlassian Jira
(v8.3.4#803005)