[jboss-jira] [JBoss JIRA] (WFLY-6137) org.dom4j.DocumentFactory cannot be cast to org.dom4j.DocumentFactory

Stuart Douglas (JIRA) issues at jboss.org
Mon Feb 8 00:28:00 EST 2016


     [ https://issues.jboss.org/browse/WFLY-6137?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stuart Douglas resolved WFLY-6137.
----------------------------------
    Resolution: Rejected


These issues can be worked around by setting the local-last flag in jboss-deployment-structure.xml, however in general this is considered to be a bug in your deployment. If you bundle Java EE components that should be provided by the application server you will get problems (you should use the maven 'provided' scope if you need something present at compile time).

> org.dom4j.DocumentFactory cannot be cast to org.dom4j.DocumentFactory
> ---------------------------------------------------------------------
>
>                 Key: WFLY-6137
>                 URL: https://issues.jboss.org/browse/WFLY-6137
>             Project: WildFly
>          Issue Type: Bug
>          Components: Application Client, EE, JPA / Hibernate, Server
>    Affects Versions: 10.0.0.Final
>            Reporter: Karl Nicholas
>            Assignee: Stuart Douglas
>
> Including hibernate-entitymanager (up to version 5.0.7.Final) into a project causes dom4j-1.6.1.jar to be included which causes the application to fail to deploy in Wildfly 10.0.0.Final.



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jboss-jira mailing list