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

Jens Potschadtke edited comment on TAP5-2582 at 11/18/19 8:19 AM:
------------------------------------------------------------------

Hello Thiago,

for brevity I just included the jars which started with tapestry in my last 
comment.

This is the complete listing of included jars:
{quote}animal-sniffer-annotations-1.14.jar
 antlr-2.7.7.jar
 antlr-runtime-3.5.2.jar
 args4j-2.0.26.jar
 beanmodel-5.5.0-20191110.014121-7.jar
 byte-buddy-1.9.11.jar
 checker-qual-2.0.0.jar
 classmate-1.3.4.jar
 closure-compiler-externs-v20190819.jar
 closure-compiler-unshaded-v20190909.jar
 commons-5.5.0-20191110.014145-7.jar
 commons-beanutils-1.8.3.jar
 commons-codec-1.10.jar
 commons-fileupload-1.3.2.jar
 commons-io-2.4.jar
 commons-logging-1.1.1.jar
 dom4j-2.1.1.jar
 error_prone_annotations-2.3.1.jar
 FastInfoset-1.2.15.jar
 gson-2.7.jar
 guava-25.1-jre.jar
 h2-1.4.186.jar
 hibernate-commons-annotations-5.1.0.Final.jar
 hibernate-core-5.4.4.Final.jar
 istack-commons-runtime-3.0.7.jar
 j2objc-annotations-1.1.jar
 jandex-2.0.5.Final.jar
 javassist-3.24.0-GA.jar
 javax.activation-1.2.0.jar
 javax.activation-api-1.2.0.jar
 javax.inject-1.jar
 javax.persistence-api-2.2.jar
 jaxb-api-2.3.0.jar
 jaxb-core-2.3.0.jar
 jaxb-impl-2.3.0.jar
 jaxb-runtime-2.3.1.jar
 jboss-logging-3.3.0.Final.jar
 jboss-transaction-api_1.2_spec-1.1.1.Final.jar
 jsinterop-annotations-1.0.0.jar
 json-20090211.jar
 jsr305-3.0.1.jar
 less4j-1.12.0.jar
 log4j-1.2.17.jar
 plastic-5.5.0-20191110.014232-7.jar
 protobuf-java-3.0.2.jar
 re2j-1.3.jar
 rhino-1.7.7.2.jar
 shiro-cache-1.4.0.jar
 shiro-config-core-1.4.0.jar
 shiro-config-ogdl-1.4.0.jar
 shiro-core-1.4.0.jar
 shiro-crypto-cipher-1.4.0.jar
 shiro-crypto-core-1.4.0.jar
 shiro-crypto-hash-1.4.0.jar
 shiro-event-1.4.0.jar
 shiro-lang-1.4.0.jar
 shiro-web-1.4.0.jar
 slf4j-api-1.7.25.jar
 slf4j-log4j12-1.7.10.jar
 stax-ex-1.8.jar
 tapestry-core-5.5.0-20191110.014408-7.jar
 tapestry-func-5.5.0-20191110.014436-7.jar
 tapestry-hibernate-5.5.0-20191110.014500-7.jar
 tapestry-hibernate-core-5.5.0-20191110.014525-7.jar
 tapestry-ioc-5.5.0-20191110.014611-7.jar
 tapestry-json-5.5.0-20191110.014834-7.jar
 tapestry-security-0.7.1.jar
 tapestry-upload-5.5.0-20191110.015142-7.jar
 tapestry-webresources-5.5.0-20191110.015206-7.jar
 tapestry5-annotations-5.5.0-20191110.015231-7.jar
 txw2-2.3.1.jar
 tynamo-common-0.0.3.jar
{quote}


was (Author: jenspot):
Hello Thiago,

fro brevity I just included the jars which started with tapestry.

This is the complete listing of included jars:
{quote}animal-sniffer-annotations-1.14.jar
antlr-2.7.7.jar
antlr-runtime-3.5.2.jar
args4j-2.0.26.jar
beanmodel-5.5.0-20191110.014121-7.jar
byte-buddy-1.9.11.jar
checker-qual-2.0.0.jar
classmate-1.3.4.jar
closure-compiler-externs-v20190819.jar
closure-compiler-unshaded-v20190909.jar
commons-5.5.0-20191110.014145-7.jar
commons-beanutils-1.8.3.jar
commons-codec-1.10.jar
commons-fileupload-1.3.2.jar
commons-io-2.4.jar
commons-logging-1.1.1.jar
dom4j-2.1.1.jar
error_prone_annotations-2.3.1.jar
FastInfoset-1.2.15.jar
gson-2.7.jar
guava-25.1-jre.jar
h2-1.4.186.jar
hibernate-commons-annotations-5.1.0.Final.jar
hibernate-core-5.4.4.Final.jar
istack-commons-runtime-3.0.7.jar
j2objc-annotations-1.1.jar
jandex-2.0.5.Final.jar
javassist-3.24.0-GA.jar
javax.activation-1.2.0.jar
javax.activation-api-1.2.0.jar
javax.inject-1.jar
javax.persistence-api-2.2.jar
jaxb-api-2.3.0.jar
jaxb-core-2.3.0.jar
jaxb-impl-2.3.0.jar
jaxb-runtime-2.3.1.jar
jboss-logging-3.3.0.Final.jar
jboss-transaction-api_1.2_spec-1.1.1.Final.jar
jsinterop-annotations-1.0.0.jar
json-20090211.jar
jsr305-3.0.1.jar
less4j-1.12.0.jar
log4j-1.2.17.jar
plastic-5.5.0-20191110.014232-7.jar
protobuf-java-3.0.2.jar
re2j-1.3.jar
rhino-1.7.7.2.jar
shiro-cache-1.4.0.jar
shiro-config-core-1.4.0.jar
shiro-config-ogdl-1.4.0.jar
shiro-core-1.4.0.jar
shiro-crypto-cipher-1.4.0.jar
shiro-crypto-core-1.4.0.jar
shiro-crypto-hash-1.4.0.jar
shiro-event-1.4.0.jar
shiro-lang-1.4.0.jar
shiro-web-1.4.0.jar
slf4j-api-1.7.25.jar
slf4j-log4j12-1.7.10.jar
stax-ex-1.8.jar
tapestry-core-5.5.0-20191110.014408-7.jar
tapestry-func-5.5.0-20191110.014436-7.jar
tapestry-hibernate-5.5.0-20191110.014500-7.jar
tapestry-hibernate-core-5.5.0-20191110.014525-7.jar
tapestry-ioc-5.5.0-20191110.014611-7.jar
tapestry-json-5.5.0-20191110.014834-7.jar
tapestry-security-0.7.1.jar
tapestry-upload-5.5.0-20191110.015142-7.jar
tapestry-webresources-5.5.0-20191110.015206-7.jar
tapestry5-annotations-5.5.0-20191110.015231-7.jar
txw2-2.3.1.jar
tynamo-common-0.0.3.jar
{quote}

> 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)

Reply via email to