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 Federico Barrios, 1 year ago
via MuleSoft JIRA by Federico Barrios, 1 year ago
org.xml.sax.SAXParseException: sch-props-correct.2: A schema cannot contain two global components with the same name; this schema contains two occurrences of 'http://www.mulesoft.org/schema/mule/success-factors,get-job-result'.	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.xs.traversers.XSDHandler.reportSchemaError(Unknown Source)	at org.apache.xerces.impl.xs.traversers.XSDHandler.checkForDuplicateNames(Unknown Source)	at org.apache.xerces.impl.xs.traversers.XSDHandler.buildGlobalNameRegistries(Unknown Source)	at org.apache.xerces.impl.xs.traversers.XSDHandler.parseSchema(Unknown Source)	at org.apache.xerces.impl.xs.XMLSchemaLoader.loadSchema(Unknown Source)	at org.apache.xerces.impl.xs.XMLSchemaValidator.findSchemaGrammar(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:76)	at org.mule.runtime.config.spring.MuleDocumentLoader.loadDocument(MuleDocumentLoader.java:91)	at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadDocument(XmlBeanDefinitionReader.java:429)	at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:391)	at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:336)	at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:304)	at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:181)	at org.mule.runtime.config.spring.MuleArtifactContext.loadBeanDefinitions(MuleArtifactContext.java:314)	at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:129)	at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:541)	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:452)	at org.mule.runtime.config.spring.SpringRegistry.doInitialise(SpringRegistry.java:125)	at org.mule.runtime.core.registry.AbstractRegistry.initialise(AbstractRegistry.java:107)	at org.mule.runtime.core.registry.AbstractRegistryBroker$1.onTransition(AbstractRegistryBroker.java:54)	at org.mule.runtime.core.registry.AbstractRegistryBroker$1.onTransition(AbstractRegistryBroker.java:49)	at org.mule.runtime.core.lifecycle.RegistryLifecycleManager.invokePhase(RegistryLifecycleManager.java:148)	at org.mule.runtime.core.lifecycle.RegistryBrokerLifecycleManager.fireInitialisePhase(RegistryBrokerLifecycleManager.java:61)	at org.mule.runtime.core.registry.AbstractRegistryBroker.initialise(AbstractRegistryBroker.java:48)	at org.mule.runtime.core.registry.MuleRegistryHelper.fireLifecycle(MuleRegistryHelper.java:122)	at org.mule.runtime.core.lifecycle.MuleContextLifecycleManager$MuleContextLifecycleCallback.onTransition(MuleContextLifecycleManager.java:91)	at org.mule.runtime.core.lifecycle.MuleContextLifecycleManager$MuleContextLifecycleCallback.onTransition(MuleContextLifecycleManager.java:87)	at org.mule.runtime.core.lifecycle.MuleContextLifecycleManager.invokePhase(MuleContextLifecycleManager.java:69)	at org.mule.runtime.core.lifecycle.MuleContextLifecycleManager.fireLifecycle(MuleContextLifecycleManager.java:61)	at org.mule.runtime.core.DefaultMuleContext.initialise(DefaultMuleContext.java:294)	at org.mule.runtime.core.context.DefaultMuleContextFactory.doCreateMuleContext(DefaultMuleContextFactory.java:222)	at org.mule.runtime.core.context.DefaultMuleContextFactory.createMuleContext(DefaultMuleContextFactory.java:83)	at org.mule.runtime.module.launcher.artifact.ArtifactMuleContextBuilder.lambda$build$0(ArtifactMuleContextBuilder.java:263)	at org.mule.runtime.core.util.ExceptionUtils.tryExpecting(ExceptionUtils.java:164)	at org.mule.runtime.core.util.ClassUtils.withContextClassLoader(ClassUtils.java:1273)	at org.mule.runtime.core.util.ClassUtils.withContextClassLoader(ClassUtils.java:1235)	at org.mule.runtime.module.launcher.artifact.ArtifactMuleContextBuilder.build(ArtifactMuleContextBuilder.java:236)	at org.mule.runtime.module.launcher.application.DefaultMuleApplication.init(DefaultMuleApplication.java:198)	at org.mule.runtime.core.util.ClassUtils.lambda$withContextClassLoader$10(ClassUtils.java:1212)	at org.mule.runtime.core.util.ExceptionUtils.tryExpecting(ExceptionUtils.java:164)	at org.mule.runtime.core.util.ClassUtils.withContextClassLoader(ClassUtils.java:1273)	at org.mule.runtime.core.util.ClassUtils.withContextClassLoader(ClassUtils.java:1235)	at org.mule.runtime.core.util.ClassUtils.withContextClassLoader(ClassUtils.java:1211)	at org.mule.runtime.module.launcher.artifact.DeployableArtifactWrapper.executeWithinArtifactClassLoader(DeployableArtifactWrapper.java:95)	at org.mule.runtime.module.launcher.artifact.DeployableArtifactWrapper.init(DeployableArtifactWrapper.java:53)	at org.mule.runtime.module.launcher.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:25)	at org.mule.runtime.module.launcher.DefaultArchiveDeployer.guardedDeploy(DefaultArchiveDeployer.java:324)	at org.mule.runtime.module.launcher.DefaultArchiveDeployer.deployArtifact(DefaultArchiveDeployer.java:345)	at org.mule.runtime.module.launcher.DefaultArchiveDeployer.deployExplodedApp(DefaultArchiveDeployer.java:311)	at org.mule.runtime.module.launcher.DefaultArchiveDeployer.deployExplodedArtifact(DefaultArchiveDeployer.java:114)	at org.mule.runtime.module.launcher.DefaultArchiveDeployer.deployExplodedArtifact(DefaultArchiveDeployer.java:41)	at org.mule.runtime.module.launcher.DeploymentDirectoryWatcher.deployExplodedApps(DeploymentDirectoryWatcher.java:290)	at org.mule.runtime.module.launcher.DeploymentDirectoryWatcher.start(DeploymentDirectoryWatcher.java:151)	at org.mule.runtime.module.launcher.MuleDeploymentService.start(MuleDeploymentService.java:98)	at org.mule.runtime.module.launcher.MuleContainer.start(MuleContainer.java:194)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:497)	at org.mule.runtime.module.reboot.MuleContainerWrapper.start(MuleContainerWrapper.java:52)	at org.tanukisoftware.wrapper.WrapperManager$12.run(WrapperManager.java:2788)