org.xml.sax.SAXParseException: cvc-complex-type.2.4.a: Invalid content was found starting with element 'audit-config'. One of '{"http://xmlns.oracle.com/mds/config":type-config, "http://xmlns.oracle.com/mds/config":file-type-config, "http://xmlns.oracle.com/mds/config":event-notification, "http://xmlns.oracle.com/mds/config":untyped-dependency-config}' is expected.]

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

Solutions on the web

via Stack Overflow by AmazingSixty
, 1 year ago
cvc-complex-type.2.4.a: Invalid content was found starting with element 'audit-config'. One of '{"http://xmlns.oracle.com/mds/config":type-config, "http://xmlns.oracle.com/mds/config":file-type-config, "http://xmlns.oracle.com/mds/config":event-notification, "http://xmlns.oracle.com/mds/config":untyped-dependency-config}' is expected.]
via Stack Overflow by AmazingSixty
, 1 year ago
cvc-complex-type.2.4.a: Invalid content was found starting with element 'audit-config'. One of '{"http://xmlns.oracle.com/mds/config":type-config, "http://xmlns.oracle.com/mds/config":file-type-config, "http://xmlns.oracle.com/mds/config":event-notification, "http://xmlns.oracle.com/mds/config":untyped-dependency-config}' is expected.]
via Atlassian JIRA by Vicky Kharisma [Atlassian], 1 year ago
An invalid XML character (Unicode: 0x1a) was found in the element content of the document.]
via Atlassian JIRA by Vicky Kharisma [Atlassian], 1 year ago
An invalid XML character (Unicode: 0x1a) was found in the element content of the document.]
via Atlassian JIRA by Vicky Kharisma [Atlassian], 1 year ago
An invalid XML character (Unicode: 0x1a) was found in the element content of the document.]
via Atlassian JIRA by Vicky Kharisma [Atlassian], 1 year ago
An invalid XML character (Unicode: 0x1a) was found in the element content of the document.]
org.xml.sax.SAXParseException: cvc-complex-type.2.4.a: Invalid content was found starting with element 'audit-config'. One of '{"http://xmlns.oracle.com/mds/config":type-config, "http://xmlns.oracle.com/mds/config":file-type-config, "http://xmlns.oracle.com/mds/config":event-notification, "http://xmlns.oracle.com/mds/config":untyped-dependency-config}' is expected.]
at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:195)
at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.error(ErrorHandlerWrapper.java:131)
at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:384)
at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:318)
at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator$XSIErrorReporter.reportError(XMLSchemaValidator.java:417)
at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.reportSchemaError(XMLSchemaValidator.java:3182)
at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.handleStartElement(XMLSchemaValidator.java:1806)
at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.startElement(XMLSchemaValidator.java:705)
at com.sun.org.apache.xerces.internal.jaxp.validation.ValidatorHandlerImpl.startElement(ValidatorHandlerImpl.java:550)
at com.sun.xml.internal.bind.v2.runtime.unmarshaller.ValidatingUnmarshaller.startElement(ValidatingUnmarshaller.java:78)
at com.sun.xml.internal.bind.v2.runtime.unmarshaller.InterningXmlVisitor.startElement(InterningXmlVisitor.java:60)
at com.sun.xml.internal.bind.v2.runtime.unmarshaller.SAXConnector.startElement(SAXConnector.java:135)
at com.sun.xml.internal.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:228)
at com.sun.xml.internal.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:265)
at com.sun.xml.internal.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:234)
at com.sun.xml.internal.bind.unmarshaller.DOMScanner.scan(DOMScanner.java:111)
at com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:305)
at javax.xml.bind.helpers.AbstractUnmarshallerImpl.createUnmarshalException(AbstractUnmarshallerImpl.java:315)
at com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl.createUnmarshalException(UnmarshallerImpl.java:505)
at com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:317)
at oracle.mds.internal.config.ConfigurationUtils$1.run(ConfigurationUtils.java:207)
at oracle.mds.internal.config.ConfigurationUtils.getBeanFromElement(ConfigurationUtils.java:202)

Users with the same issue

Once, 2 weeks ago
14 times, 2 weeks ago
Once, 3 weeks ago
82 times, 1 month ago
2 times, 1 month ago
46 more bugmates

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