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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via hivmr.com by Unknown author, 1 year ago
oracle.xml.parser.v2.XMLComment cannot be cast to org.w3c.dom.Element
via hivmr.com by Unknown author, 1 year ago
oracle.xml.parser.v2.XMLComment cannot be cast to org.w3c.dom.Element
via hivmr.com by Unknown author, 1 year ago
oracle.xml.parser.v2.XMLComment cannot be cast to org.w3c.dom.Element
via Stack Overflow by notting65
, 1 year ago
oracle.xml.parser.v2.XMLComment cannot be cast to org.w3c.dom.Element
via Oracle Community by 543163, 1 year ago
via Oracle Community by 814634, 1 year ago
oracle.xml.parser.v2.XMLComment cannot be cast to org.w3c.dom.Element
java.lang.ClassCastException: oracle.xml.parser.v2.XMLComment cannot be cast to org.w3c.dom.Element
at java.util.XMLUtils.importProperties(XMLUtils.java:97)
at java.util.XMLUtils.load(XMLUtils.java:69)
at java.util.Properties.loadFromXML(Properties.java:852)
at undefined.Main.main(Main.java:13)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.