java.lang.ClassCastException: oracle.xml.parser.v2.XMLComment cannot be cast to org.w3c.dom.Element

Stack Overflow | notting65 | 7 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Error parsing comments loading properties file on weblogic

    Stack Overflow | 7 months ago | notting65
    java.lang.ClassCastException: oracle.xml.parser.v2.XMLComment cannot be cast to org.w3c.dom.Element
  2. 0

    java.lang.ClassCastException: org.apache.xerces.dom.DeferredCommentImpl

    Apache Bugzilla | 1 decade ago | jpatino
    java.lang.ClassCastException: org.apache.xerces.dom.DeferredCommentImpl

    Root Cause Analysis

    1. java.lang.ClassCastException

      oracle.xml.parser.v2.XMLComment cannot be cast to org.w3c.dom.Element

      at java.util.XMLUtils.importProperties()
    2. Java RT
      XMLUtils.load
      1. java.util.XMLUtils.importProperties(XMLUtils.java:114)
      2. java.util.XMLUtils.load(XMLUtils.java:86)
      2 frames