[jboss-jira] [JBoss JIRA] (WFLY-9310) Class loading hierarchie

stefano canu (JIRA) issues at jboss.org
Fri Sep 8 03:51:00 EDT 2017


    [ https://issues.jboss.org/browse/WFLY-9310?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13460626#comment-13460626 ] 

stefano canu commented on WFLY-9310:
------------------------------------

Hi, the issue is not concerning hibernate/jpa but class loading policy, i tried to exclude dom4j for fixinf the error https://stackoverflow.com/questions/35533847/wildfly-10-java-lang-classcastexception-org-dom4j-documentfactory-cannot-be-ca, but the only way is to eliminate the jar from EAR lib

> Class loading  hierarchie
> -------------------------
>
>                 Key: WFLY-9310
>                 URL: https://issues.jboss.org/browse/WFLY-9310
>             Project: WildFly
>          Issue Type: Bug
>          Components: Class Loading, JPA / Hibernate
>    Affects Versions: 10.1.0.Final
>         Environment: windows 7
> oracle jdk hotspot 8
> wildfly 10 final
>            Reporter: stefano canu
>            Assignee: David Lloyd
>         Attachments: image-2017-09-07-12-57-48-779.png, image-2017-09-07-12-57-52-827.png, image-2017-09-07-12-57-59-849.png
>
>
> Deployng an EAR application with hibernate 4.x jars  in lib folders  but is ignored and workning with AS module (hibernate 5.0.10) . i tried to do module exclusion by using jboss-deployment- structure but whitout any luck.



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jboss-jira mailing list