2 Replies Latest reply on Dec 22, 2014 10:51 PM by Murali Nirmal

    Classpath or Module path problem in wildfly 8.1

    Murali Nirmal Newbie

      I am getting the following error "file__redirected.__DocumentBuilderFactory cannot be cast to javax.xml.parsers.DocumentBuilderFactory"

      only when I create my own classpath module.
      If I bundle all my third party and our own jars in my ear lib folder, its working fine. Only when i remove the jars from the lib folder and try to put it in the classpath using module xml

      I am getting this parser exception.

      I should not bundle all my third party jars in ear, it should be seperately mapped in classpath,
      so please help me to overcome from this issue.
      Thanks in advance.

       

      Please let me know if any additional information is required.