12 Replies Latest reply on Apr 13, 2018 1:02 PM by skorejo

    org.dom4j.DocumentFactory cannot be cast to org.dom4j.DocumentFactory Nested exception

    ranujain

      I have added orm.xml file which contains JPA Query and its working sin at application end.

      But when we try to use this file in Junit (Arquillian). ts throwing below exception :

       

      org.dom4j.DocumentFactory cannot be cast to org.dom4j.DocumentFactory Nested exception: org.dom4j.DocumentFactory cannot be cast to org.dom4j.DocumentFactory

       

      I made the chaange in Mainfest.MF also Dependencies: org.dom4j export.

      But Arquillain not reading my mainfest file.

       

      Please provide me the solution how it will work

       


      Thanks