org.dom4j.DocumentException

Error on line 4 of document file:///C:/schema.xsd : schema_reference.4: Failed to read schema document 'http://www.w3.org/TR/xmldsig-core/xmldsig-core-schema.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not xsd:schema. Nested exception: schema_reference.4: Failed to read schema document 'http://www.w3.org/TR/xmldsig-core/xmldsig-core-schema.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not xsd:schema.

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web476

  • via Unknown by Unknown author,
  • via Unknown by 843834,
  • Stack trace

    • org.dom4j.DocumentException: Error on line 4 of document file:///C:/schema.xsd : schema_reference.4: Failed to read schema document 'http://www.w3.org/TR/xmldsig-core/xmldsig-core-schema.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not xsd:schema. Nested exception: schema_reference.4: Failed to read schema document 'http://www.w3.org/TR/xmldsig-core/xmldsig-core-schema.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not xsd:schema. at org.dom4j.io.SAXReader.read(SAXReader.java:482) at org.dom4j.io.SAXReader.read(SAXReader.java:321) at javaapplication4.Main.main(Main.java:43)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    37 more bugmates