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.]

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 web803

  • via Stack Overflow by balteo
    ,
  • Stack trace

    • 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 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 com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:288) at oracle.mds.internal.config.ConfigurationUtils$1.run(ConfigurationUtils.java:207) at java.security.AccessController.doPrivileged(Native Method) at oracle.mds.internal.config.ConfigurationUtils.getBeanFromElement(ConfigurationUtils.java:202) Caused by: 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) ... 7 more

    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

    Михайло ТітовМихайло Тітов
    3 times, last one
    aidoanaidoan
    2 times, last one
    Victor_ITVictor_IT
    4 times, last one
    jpveejpvee
    Once,
    osvzsosvzs
    15 times, last one
    39 more bugmates