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

  1. ,

    The persistence_2_0.xsd enforces the order of the elements in the xml. Re-ordering them makes then error go away.

Solutions on the web

via xerces-j-users by hamid.farhadi.nsc, 1 year ago
schema_reference.4: Failed to read schema document 'newKnowledgeBase.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>.
via xerces-j-users by hamid.farhadi.nsc, 1 year ago
schema_reference.4: Failed to read schema document 'newKnowledgeBase.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>.
via Google Groups by paquettd, 8 months ago
schema_reference.4: Failed to read schema document 'http://www.springframework.org/schema/beans/spring-beans-2.5.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>.
via Google Groups by Tdi-trainee, 9 months ago
schema_reference.4: Failed to read schema document 'http://www.springframework.org/schema/beans/spring-beans-3.0.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>.
via Stack Overflow by sekhar
, 1 year ago
schema_reference.4: Failed to read schema document 'http://www.mulesource.org/schema/mule/core/2.2/mule.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>.
via Stack Overflow by Thiru
, 6 months ago
schema_reference.4: Failed to read schema document 'http://www.mulesoft.org/schema/mule/sharepoint/3.7/mule-sharepoint.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>.
org.xml.sax.SAXParseException: schema_reference.4: Failed to read schema
document 'newKnowledgeBase.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.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(UnknownSource)	at org.apache.xerces.util.ErrorHandlerWrapper.warning(UnknownSource)	at org.apache.xerces.impl.XMLErrorReporter.reportError(UnknownSource)	at org.apache.xerces.impl.XMLErrorReporter.reportError(UnknownSource)	at org.apache.xerces.impl.XMLErrorReporter.reportError(UnknownSource)	at org.apache.xerces.impl.xs.traversers.XSDHandler.reportSchemaWarning(UnknownSource)	at org.apache.xerces.impl.xs.traversers.XSDHandler.getSchemaDocument(UnknownSource)	at org.apache.xerces.impl.xs.traversers.XSDHandler.parseSchema(Unknown Source)	at org.apache.xerces.impl.xs.XMLSchemaLoader.loadSchema(UnknownSource)	at org.apache.xerces.impl.xs.XMLSchemaValidator.findSchemaGrammar(UnknownSource)	at org.apache.xerces.impl.xs.XMLSchemaValidator.handleStartElement(UnknownSource)	at org.apache.xerces.impl.xs.XMLSchemaValidator.startElement(Unknown Source)	at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(UnknownSource)	at org.apache.xerces.impl.XMLNSDocumentScannerImpl$NSContentDispatcher.scanRootElementHook(UnknownSource)	at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(UnknownSource)	at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(UnknownSource)	at org.apache.xerces.parsers.XML11Configuration.parse(UnknownSource)	at org.apache.xerces.parsers.XML11Configuration.parse(UnknownSource)	at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)	at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)	at edu.ncsu.tiaa.knowledgebase.KnowledgeBase.print(KnowledgeBase.java:313)	at edu.ncsu.tiaa.knowledgebase.KnowledgeBase.(KnowledgeBase.java:191)	at edu.ncsu.tiaa.alert_collection.AlertCollection.(AlertCollection.java:97)	at edu.ncsu.tiaa.gui.GUI.createNewProject(GUI.java:986)	at edu.ncsu.tiaa.gui.GUI.newButtonActionPerformed(GUI.java:1244)	at edu.ncsu.tiaa.gui.GUI.access$1400(GUI.java:33)	at edu.ncsu.tiaa.gui.GUI$15.actionPerformed(GUI.java:254)	at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)	at javax.swing.AbstractButton$Handler.actionPerformed(UnknownSource)	at javax.swing.DefaultButtonModel.fireActionPerformed(UnknownSource)	at javax.swing.DefaultButtonModel.setPressed(Unknown Source)	at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)	at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)	at java.awt.Component.processMouseEvent(Unknown Source)	at javax.swing.JComponent.processMouseEvent(Unknown Source)	at java.awt.Component.processEvent(Unknown Source)	at java.awt.Container.processEvent(Unknown Source)	at java.awt.Component.dispatchEventImpl(Unknown Source)	at java.awt.Container.dispatchEventImpl(Unknown Source)	at java.awt.Component.dispatchEvent(Unknown Source)	at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)	at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)	at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)	at java.awt.Container.dispatchEventImpl(Unknown Source)	at java.awt.Window.dispatchEventImpl(Unknown Source)	at java.awt.Component.dispatchEvent(Unknown Source)	at java.awt.EventQueue.dispatchEvent(Unknown Source)	at java.awt.EventDispatchThread.pumpOneEventForHierarchy(UnknownSource)	at java.awt.EventDispatchThread.pumpEventsForHierarchy(UnknownSource)	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)	at java.awt.EventDispatchThread.run(Unknown Source)