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 MuleSoft JIRA by Damian Sima, 1 year ago
cvc-datatype-valid.1.2.1: '${consume.staging.area.flow.initial.state}' is not a valid value for 'NMTOKEN'.
via MuleSoft JIRA by Damian Sima, 1 year ago
cvc-datatype-valid.1.2.1: '${consume.staging.area.flow.initial.state}' is not a valid value for 'NMTOKEN'.
via Stack Overflow by David Lane
, 1 month ago
cvc-datatype-valid.1.2.3: '' is not a valid value of union type 'substitutableInt'.
via Stack Overflow by insaneyogi
, 2 years ago
cvc-complex-type.2.4.a: Invalid content was found starting with element 'jdbc:xml-to-maps-transformer'. One of ' is expected.
via oschina.net by Unknown author, 2 years ago
cvc-complex-type.2.4.a: Invalid content was found starting with element 'data-mapper:config'. One of '{"http://www.springframework.org/schema/beans":beans, "http://www.springframework.org/schema/beans":bean, "http://www.springframework.org/schema
via oschina.net by Unknown author, 2 years ago
cvc-complex-type.2.4.a: Invalid content was found starting with element 'data-mapper:config'. One of '{"http://www.springframework.org/schema/beans":beans, "http://www.springframework.org/schema/beans":bean, "http://www.springframework.org/schema
org.xml.sax.SAXParseException: cvc-datatype-valid.1.2.1: '${consume.staging.area.flow.initial.state}' is not a valid value for 'NMTOKEN'.	at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)	at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown Source)	at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)	at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)	at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)	at org.apache.xerces.impl.xs.XMLSchemaValidator$XSIErrorReporter.reportError(Unknown Source)	at org.apache.xerces.impl.xs.XMLSchemaValidator.reportSchemaError(Unknown Source)	at org.apache.xerces.impl.xs.XMLSchemaValidator.processOneAttribute(Unknown Source)	at org.apache.xerces.impl.xs.XMLSchemaValidator.processAttributes(Unknown Source)	at org.apache.xerces.impl.xs.XMLSchemaValidator.handleStartElement(Unknown Source)	at org.apache.xerces.impl.xs.XMLSchemaValidator.startElement(Unknown Source)	at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)	at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)	at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)	at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)	at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)	at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)	at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)	at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)	at org.springframework.beans.factory.xml.DefaultDocumentLoader.loadDocument(DefaultDocumentLoader.java:75)	at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:388)	at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:334)	at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:302)	at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:174)	at org.mule.config.spring.MuleApplicationContext.loadBeanDefinitions(MuleApplicationContext.java:113)	at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:130)	at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:537)	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:451)	at org.mule.config.spring.SpringRegistry.doInitialise(SpringRegistry.java:89)	at org.mule.registry.AbstractRegistry.initialise(AbstractRegistry.java:109)	at org.mule.config.spring.SpringXmlConfigurationBuilder.createSpringRegistry(SpringXmlConfigurationBuilder.java:119)	at org.mule.config.spring.SpringXmlConfigurationBuilder.doConfigure(SpringXmlConfigurationBuilder.java:73)	at org.mule.config.builders.AbstractConfigurationBuilder.configure(AbstractConfigurationBuilder.java:46)	at org.mule.config.builders.AbstractResourceConfigurationBuilder.configure(AbstractResourceConfigurationBuilder.java:78)	at org.mule.config.builders.AutoConfigurationBuilder.autoConfigure(AutoConfigurationBuilder.java:101)	at org.mule.config.builders.AutoConfigurationBuilder.doConfigure(AutoConfigurationBuilder.java:57)	at org.mule.config.builders.AbstractConfigurationBuilder.configure(AbstractConfigurationBuilder.java:46)	at org.mule.config.builders.AbstractResourceConfigurationBuilder.configure(AbstractResourceConfigurationBuilder.java:78)	at org.mule.context.DefaultMuleContextFactory.createMuleContext(DefaultMuleContextFactory.java:84)	at org.mule.module.launcher.application.DefaultMuleApplication.init(DefaultMuleApplication.java:207)	at org.mule.module.launcher.application.ApplicationWrapper.init(ApplicationWrapper.java:64)	at org.mule.module.launcher.DefaultMuleDeployer.deploy(DefaultMuleDeployer.java:47)	at org.mule.tooling.server.application.ApplicationDeployer.main(ApplicationDeployer.java:127)