org.mule.runtime.module.launcher.DeploymentInitException: SAXParseException: cvc-complex-type.2.4.a: Invalid content was found starting with element 'metadata:config'. One of '{"http://www.mulesoft.org/schema/mule/core":annotations, "http://www.mulesoft.org/schema/mule/core":description, "http://www.springframework.org/schema/beans":beans, "http://www.springframework.org/schema/beans":bean, "http://www.springframework.org/schema/context":property-placeholder, "http://www.springframework.org/schema/beans":ref, "http://www.mulesoft.org/schema/mule/core":global-property, "http://www.mulesoft.org/schema/mule/core":configuration, "http://www.mulesoft.org/schema/mule/core":notifications, "http://www.mulesoft.org/schema/mule/core":abstract-extension, "http://www.mulesoft.org/schema/mule/core":abstract-shared-extension, "http://www.mulesoft.org/schema/mule/core":abstract-mixed-content-extension, "http://www.mulesoft.org/schema/mule/core":abstract-agent, "http://www.mulesoft.org/schema/mule/core":abstract-security-manager, "http://www.mulesoft.org/schema/mule/core":abstract-transaction-manager, "http://www.mulesoft.org/schema/mule/core":abstract-shared-transaction-manager, "http://www.mulesoft.org/schema/mule/core":abstract-connector, "http://www.mulesoft.org/schema/mule/core":abstract-shared-connector, "http://www.mulesoft.org/schema/mule/core":abstract-global-endpoint, "http://www.mulesoft.org/schema/mule/core":abstract-exception-strategy, "http://www.mulesoft.org/schema/mule/core":abstract-flow-construct, "http://www.mulesoft.org/schema/mule/core":flow, "http://www.mulesoft.org/schema/mule/core":sub-flow, "http://www.mulesoft.org/schema/mule/core":abstract-interceptor-stack, "http://www.mulesoft.org/schema/mule/core":abstract-filter, "http://www.mulesoft.org/schema/mule/core":abstract-transformer, "http://www.mulesoft.org/schema/mule/core":processor-chain, "http://www.mulesoft.org/schema/mule/core":custom-processor, "http://www.mulesoft.org/schema/mule/core":abstract-empty-processor, "http://www.mulesoft.org/schema/mule/core":invoke, "http://www.mulesoft.org/schema/mule/core":set-payload, "http://www.mulesoft.org/schema/mule/core":abstract-global-intercepting-message-processor, "http://www.mulesoft.org/schema/mule/core":custom-queue-store, "http://www.mulesoft.org/schema/mule/core":abstract-processing-strategy}' is expected.

MuleSoft JIRA | Esteban Wasinger | 7 months ago
  1. 0

    c*Mule doesn't load extension's JAR when starting mule application* * When starting a Mule application that uses SDK made extensions, the extension JAR is not loaded correctly. ** This implies, for example, that the namespace handler is never loaded and fails when trying to parse the XML. *StackTrace*: {code}++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + Failed to deploy artifact 'muuulw-4', see below + ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ org.mule.runtime.module.launcher.DeploymentInitException: SAXParseException: cvc-complex-type.2.4.a: Invalid content was found starting with element 'metadata:config'. One of '{"http://www.mulesoft.org/schema/mule/core":annotations, "http://www.mulesoft.org/schema/mule/core":description, "http://www.springframework.org/schema/beans":beans, "http://www.springframework.org/schema/beans":bean, "http://www.springframework.org/schema/context":property-placeholder, "http://www.springframework.org/schema/beans":ref, "http://www.mulesoft.org/schema/mule/core":global-property, "http://www.mulesoft.org/schema/mule/core":configuration, "http://www.mulesoft.org/schema/mule/core":notifications, "http://www.mulesoft.org/schema/mule/core":abstract-extension, "http://www.mulesoft.org/schema/mule/core":abstract-shared-extension, "http://www.mulesoft.org/schema/mule/core":abstract-mixed-content-extension, "http://www.mulesoft.org/schema/mule/core":abstract-agent, "http://www.mulesoft.org/schema/mule/core":abstract-security-manager, "http://www.mulesoft.org/schema/mule/core":abstract-transaction-manager, "http://www.mulesoft.org/schema/mule/core":abstract-shared-transaction-manager, "http://www.mulesoft.org/schema/mule/core":abstract-connector, "http://www.mulesoft.org/schema/mule/core":abstract-shared-connector, "http://www.mulesoft.org/schema/mule/core":abstract-global-endpoint, "http://www.mulesoft.org/schema/mule/core":abstract-exception-strategy, "http://www.mulesoft.org/schema/mule/core":abstract-flow-construct, "http://www.mulesoft.org/schema/mule/core":flow, "http://www.mulesoft.org/schema/mule/core":sub-flow, "http://www.mulesoft.org/schema/mule/core":abstract-interceptor-stack, "http://www.mulesoft.org/schema/mule/core":abstract-filter, "http://www.mulesoft.org/schema/mule/core":abstract-transformer, "http://www.mulesoft.org/schema/mule/core":processor-chain, "http://www.mulesoft.org/schema/mule/core":custom-processor, "http://www.mulesoft.org/schema/mule/core":abstract-empty-processor, "http://www.mulesoft.org/schema/mule/core":invoke, "http://www.mulesoft.org/schema/mule/core":set-payload, "http://www.mulesoft.org/schema/mule/core":abstract-global-intercepting-message-processor, "http://www.mulesoft.org/schema/mule/core":custom-queue-store, "http://www.mulesoft.org/schema/mule/core":abstract-processing-strategy}' is expected. at org.mule.runtime.module.launcher.application.DefaultMuleApplication.init(DefaultMuleApplication.java:195) ~[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.util.ClassUtils.lambda$withContextClassLoader$10(ClassUtils.java:1214) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.util.ClassUtils.withContextClassLoader(ClassUtils.java:1193) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.util.ClassUtils.withContextClassLoader(ClassUtils.java:1213) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.module.launcher.artifact.DeployableArtifactWrapper.executeWithinArtifactClassLoader(DeployableArtifactWrapper.java:95) ~[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.module.launcher.artifact.DeployableArtifactWrapper.init(DeployableArtifactWrapper.java:53) ~[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.module.launcher.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:25) ~[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.module.launcher.DefaultArchiveDeployer.guardedDeploy(DefaultArchiveDeployer.java:324) ~[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.module.launcher.DefaultArchiveDeployer.deployArtifact(DefaultArchiveDeployer.java:345) ~[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.module.launcher.DefaultArchiveDeployer.deployExplodedApp(DefaultArchiveDeployer.java:311) ~[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.module.launcher.DefaultArchiveDeployer.deployExplodedArtifact(DefaultArchiveDeployer.java:114) ~[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.module.launcher.DefaultArchiveDeployer.deployExplodedArtifact(DefaultArchiveDeployer.java:41) ~[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.module.launcher.DeploymentDirectoryWatcher.deployExplodedApps(DeploymentDirectoryWatcher.java:290) ~[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.module.launcher.DeploymentDirectoryWatcher.start(DeploymentDirectoryWatcher.java:151) ~[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.module.launcher.MuleDeploymentService.start(MuleDeploymentService.java:132) ~[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.module.launcher.MuleContainer.start(MuleContainer.java:170) ~[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_66] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_66] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_66] at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_66] at org.mule.runtime.module.reboot.MuleContainerWrapper.start(MuleContainerWrapper.java:52) ~[mule-module-boot-ee-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.tanukisoftware.wrapper.WrapperManager$11.run(WrapperManager.java:4242) ~[wrapper-3.5.29.jar:3.5.29] Caused by: org.mule.runtime.core.api.config.ConfigurationException: Line 10 in XML document from URL [file:/Users/estebanwasinger/Downloads/mule-4-distributions/mule-with-out-fix/mule-enterprise-standalone-4.0-SNAPSHOT/apps/muuulw-4/mule-config.xml] is invalid; nested exception is org.xml.sax.SAXParseException: cvc-complex-type.2.4.a: Invalid content was found starting with element 'metadata:config'. One of '{"http://www.mulesoft.org/schema/mule/core":annotations, "http://www.mulesoft.org/schema/mule/core":description, "http://www.springframework.org/schema/beans":beans, "http://www.springframework.org/schema/beans":bean, "http://www.springframework.org/schema/context":property-placeholder, "http://www.springframework.org/schema/beans":ref, "http://www.mulesoft.org/schema/mule/core":global-property, "http://www.mulesoft.org/schema/mule/core":configuration, "http://www.mulesoft.org/schema/mule/core":notifications, "http://www.mulesoft.org/schema/mule/core":abstract-extension, "http://www.mulesoft.org/schema/mule/core":abstract-shared-extension, "http://www.mulesoft.org/schema/mule/core":abstract-mixed-content-extension, "http://www.mulesoft.org/schema/mule/core":abstract-agent, "http://www.mulesoft.org/schema/mule/core":abstract-security-manager, "http://www.mulesoft.org/schema/mule/core":abstract-transaction-manager, "http://www.mulesoft.org/schema/mule/core":abstract-shared-transaction-manager, "http://www.mulesoft.org/schema/mule/core":abstract-connector, "http://www.mulesoft.org/schema/mule/core":abstract-shared-connector, "http://www.mulesoft.org/schema/mule/core":abstract-global-endpoint, "http://www.mulesoft.org/schema/mule/core":abstract-exception-strategy, "http://www.mulesoft.org/schema/mule/core":abstract-flow-construct, "http://www.mulesoft.org/schema/mule/core":flow, "http://www.mulesoft.org/schema/mule/core":sub-flow, "http://www.mulesoft.org/schema/mule/core":abstract-interceptor-stack, "http://www.mulesoft.org/schema/mule/core":abstract-filter, "http://www.mulesoft.org/schema/mule/core":abstract-transformer, "http://www.mulesoft.org/schema/mule/core":processor-chain, "http://www.mulesoft.org/schema/mule/core":custom-processor, "http://www.mulesoft.org/schema/mule/core":abstract-empty-processor, "http://www.mulesoft.org/schema/mule/core":invoke, "http://www.mulesoft.org/schema/mule/core":set-payload, "http://www.mulesoft.org/schema/mule/core":abstract-global-intercepting-message-processor, "http://www.mulesoft.org/schema/mule/core":custom-queue-store, "http://www.mulesoft.org/schema/mule/core":abstract-processing-strategy}' is expected. (org.mule.runtime.core.api.lifecycle.InitialisationException) (org.mule.runtime.core.api.config.ConfigurationException) at org.mule.runtime.core.config.builders.AbstractConfigurationBuilder.configure(AbstractConfigurationBuilder.java:49) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.config.builders.AbstractResourceConfigurationBuilder.configure(AbstractResourceConfigurationBuilder.java:69) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.context.DefaultMuleContextFactory$1.configure(DefaultMuleContextFactory.java:89) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.context.DefaultMuleContextFactory.doCreateMuleContext(DefaultMuleContextFactory.java:222) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.context.DefaultMuleContextFactory.createMuleContext(DefaultMuleContextFactory.java:81) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.module.launcher.application.DefaultMuleApplication.init(DefaultMuleApplication.java:186) ~[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] ... 21 more Caused by: org.mule.runtime.core.api.config.ConfigurationException: Line 10 in XML document from URL [file:/Users/estebanwasinger/Downloads/mule-4-distributions/mule-with-out-fix/mule-enterprise-standalone-4.0-SNAPSHOT/apps/muuulw-4/mule-config.xml] is invalid; nested exception is org.xml.sax.SAXParseException: cvc-complex-type.2.4.a: Invalid content was found starting with element 'metadata:config'. One of '{"http://www.mulesoft.org/schema/mule/core":annotations, "http://www.mulesoft.org/schema/mule/core":description, "http://www.springframework.org/schema/beans":beans, "http://www.springframework.org/schema/beans":bean, "http://www.springframework.org/schema/context":property-placeholder, "http://www.springframework.org/schema/beans":ref, "http://www.mulesoft.org/schema/mule/core":global-property, "http://www.mulesoft.org/schema/mule/core":configuration, "http://www.mulesoft.org/schema/mule/core":notifications, "http://www.mulesoft.org/schema/mule/core":abstract-extension, "http://www.mulesoft.org/schema/mule/core":abstract-shared-extension, "http://www.mulesoft.org/schema/mule/core":abstract-mixed-content-extension, "http://www.mulesoft.org/schema/mule/core":abstract-agent, "http://www.mulesoft.org/schema/mule/core":abstract-security-manager, "http://www.mulesoft.org/schema/mule/core":abstract-transaction-manager, "http://www.mulesoft.org/schema/mule/core":abstract-shared-transaction-manager, "http://www.mulesoft.org/schema/mule/core":abstract-connector, "http://www.mulesoft.org/schema/mule/core":abstract-shared-connector, "http://www.mulesoft.org/schema/mule/core":abstract-global-endpoint, "http://www.mulesoft.org/schema/mule/core":abstract-exception-strategy, "http://www.mulesoft.org/schema/mule/core":abstract-flow-construct, "http://www.mulesoft.org/schema/mule/core":flow, "http://www.mulesoft.org/schema/mule/core":sub-flow, "http://www.mulesoft.org/schema/mule/core":abstract-interceptor-stack, "http://www.mulesoft.org/schema/mule/core":abstract-filter, "http://www.mulesoft.org/schema/mule/core":abstract-transformer, "http://www.mulesoft.org/schema/mule/core":processor-chain, "http://www.mulesoft.org/schema/mule/core":custom-processor, "http://www.mulesoft.org/schema/mule/core":abstract-empty-processor, "http://www.mulesoft.org/schema/mule/core":invoke, "http://www.mulesoft.org/schema/mule/core":set-payload, "http://www.mulesoft.org/schema/mule/core":abstract-global-intercepting-message-processor, "http://www.mulesoft.org/schema/mule/core":custom-queue-store, "http://www.mulesoft.org/schema/mule/core":abstract-processing-strategy}' is expected. (org.mule.runtime.core.api.lifecycle.InitialisationException) at org.mule.runtime.core.config.builders.AbstractConfigurationBuilder.configure(AbstractConfigurationBuilder.java:49) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.config.builders.AbstractResourceConfigurationBuilder.configure(AbstractResourceConfigurationBuilder.java:69) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.config.builders.AutoConfigurationBuilder.autoConfigure(AutoConfigurationBuilder.java:101) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.config.builders.AutoConfigurationBuilder.doConfigure(AutoConfigurationBuilder.java:52) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.config.builders.AbstractConfigurationBuilder.configure(AbstractConfigurationBuilder.java:43) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.config.builders.AbstractResourceConfigurationBuilder.configure(AbstractResourceConfigurationBuilder.java:69) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.context.DefaultMuleContextFactory$1.configure(DefaultMuleContextFactory.java:89) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.context.DefaultMuleContextFactory.doCreateMuleContext(DefaultMuleContextFactory.java:222) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.context.DefaultMuleContextFactory.createMuleContext(DefaultMuleContextFactory.java:81) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.module.launcher.application.DefaultMuleApplication.init(DefaultMuleApplication.java:186) ~[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] ... 21 more Caused by: org.mule.runtime.core.api.lifecycle.InitialisationException: Line 10 in XML document from URL [file:/Users/estebanwasinger/Downloads/mule-4-distributions/mule-with-out-fix/mule-enterprise-standalone-4.0-SNAPSHOT/apps/muuulw-4/mule-config.xml] is invalid; nested exception is org.xml.sax.SAXParseException: cvc-complex-type.2.4.a: Invalid content was found starting with element 'metadata:config'. One of '{"http://www.mulesoft.org/schema/mule/core":annotations, "http://www.mulesoft.org/schema/mule/core":description, "http://www.springframework.org/schema/beans":beans, "http://www.springframework.org/schema/beans":bean, "http://www.springframework.org/schema/context":property-placeholder, "http://www.springframework.org/schema/beans":ref, "http://www.mulesoft.org/schema/mule/core":global-property, "http://www.mulesoft.org/schema/mule/core":configuration, "http://www.mulesoft.org/schema/mule/core":notifications, "http://www.mulesoft.org/schema/mule/core":abstract-extension, "http://www.mulesoft.org/schema/mule/core":abstract-shared-extension, "http://www.mulesoft.org/schema/mule/core":abstract-mixed-content-extension, "http://www.mulesoft.org/schema/mule/core":abstract-agent, "http://www.mulesoft.org/schema/mule/core":abstract-security-manager, "http://www.mulesoft.org/schema/mule/core":abstract-transaction-manager, "http://www.mulesoft.org/schema/mule/core":abstract-shared-transaction-manager, "http://www.mulesoft.org/schema/mule/core":abstract-connector, "http://www.mulesoft.org/schema/mule/core":abstract-shared-connector, "http://www.mulesoft.org/schema/mule/core":abstract-global-endpoint, "http://www.mulesoft.org/schema/mule/core":abstract-exception-strategy, "http://www.mulesoft.org/schema/mule/core":abstract-flow-construct, "http://www.mulesoft.org/schema/mule/core":flow, "http://www.mulesoft.org/schema/mule/core":sub-flow, "http://www.mulesoft.org/schema/mule/core":abstract-interceptor-stack, "http://www.mulesoft.org/schema/mule/core":abstract-filter, "http://www.mulesoft.org/schema/mule/core":abstract-transformer, "http://www.mulesoft.org/schema/mule/core":processor-chain, "http://www.mulesoft.org/schema/mule/core":custom-processor, "http://www.mulesoft.org/schema/mule/core":abstract-empty-processor, "http://www.mulesoft.org/schema/mule/core":invoke, "http://www.mulesoft.org/schema/mule/core":set-payload, "http://www.mulesoft.org/schema/mule/core":abstract-global-intercepting-message-processor, "http://www.mulesoft.org/schema/mule/core":custom-queue-store, "http://www.mulesoft.org/schema/mule/core":abstract-processing-strategy}' is expected. at org.mule.runtime.core.registry.AbstractRegistry.initialise(AbstractRegistry.java:115) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.config.spring.SpringXmlConfigurationBuilder.createSpringRegistry(SpringXmlConfigurationBuilder.java:190) ~[mule-module-spring-config-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.config.spring.SpringXmlConfigurationBuilder.doConfigure(SpringXmlConfigurationBuilder.java:113) ~[mule-module-spring-config-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.config.builders.AbstractConfigurationBuilder.configure(AbstractConfigurationBuilder.java:43) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.config.builders.AbstractResourceConfigurationBuilder.configure(AbstractResourceConfigurationBuilder.java:69) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.config.builders.AutoConfigurationBuilder.autoConfigure(AutoConfigurationBuilder.java:101) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.config.builders.AutoConfigurationBuilder.doConfigure(AutoConfigurationBuilder.java:52) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.config.builders.AbstractConfigurationBuilder.configure(AbstractConfigurationBuilder.java:43) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.config.builders.AbstractResourceConfigurationBuilder.configure(AbstractResourceConfigurationBuilder.java:69) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.context.DefaultMuleContextFactory$1.configure(DefaultMuleContextFactory.java:89) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.context.DefaultMuleContextFactory.doCreateMuleContext(DefaultMuleContextFactory.java:222) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.context.DefaultMuleContextFactory.createMuleContext(DefaultMuleContextFactory.java:81) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.module.launcher.application.DefaultMuleApplication.init(DefaultMuleApplication.java:186) ~[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] ... 21 more Caused by: org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 10 in XML document from URL [file:/Users/estebanwasinger/Downloads/mule-4-distributions/mule-with-out-fix/mule-enterprise-standalone-4.0-SNAPSHOT/apps/muuulw-4/mule-config.xml] is invalid; nested exception is org.xml.sax.SAXParseException: cvc-complex-type.2.4.a: Invalid content was found starting with element 'metadata:config'. One of '{"http://www.mulesoft.org/schema/mule/core":annotations, "http://www.mulesoft.org/schema/mule/core":description, "http://www.springframework.org/schema/beans":beans, "http://www.springframework.org/schema/beans":bean, "http://www.springframework.org/schema/context":property-placeholder, "http://www.springframework.org/schema/beans":ref, "http://www.mulesoft.org/schema/mule/core":global-property, "http://www.mulesoft.org/schema/mule/core":configuration, "http://www.mulesoft.org/schema/mule/core":notifications, "http://www.mulesoft.org/schema/mule/core":abstract-extension, "http://www.mulesoft.org/schema/mule/core":abstract-shared-extension, "http://www.mulesoft.org/schema/mule/core":abstract-mixed-content-extension, "http://www.mulesoft.org/schema/mule/core":abstract-agent, "http://www.mulesoft.org/schema/mule/core":abstract-security-manager, "http://www.mulesoft.org/schema/mule/core":abstract-transaction-manager, "http://www.mulesoft.org/schema/mule/core":abstract-shared-transaction-manager, "http://www.mulesoft.org/schema/mule/core":abstract-connector, "http://www.mulesoft.org/schema/mule/core":abstract-shared-connector, "http://www.mulesoft.org/schema/mule/core":abstract-global-endpoint, "http://www.mulesoft.org/schema/mule/core":abstract-exception-strategy, "http://www.mulesoft.org/schema/mule/core":abstract-flow-construct, "http://www.mulesoft.org/schema/mule/core":flow, "http://www.mulesoft.org/schema/mule/core":sub-flow, "http://www.mulesoft.org/schema/mule/core":abstract-interceptor-stack, "http://www.mulesoft.org/schema/mule/core":abstract-filter, "http://www.mulesoft.org/schema/mule/core":abstract-transformer, "http://www.mulesoft.org/schema/mule/core":processor-chain, "http://www.mulesoft.org/schema/mule/core":custom-processor, "http://www.mulesoft.org/schema/mule/core":abstract-empty-processor, "http://www.mulesoft.org/schema/mule/core":invoke, "http://www.mulesoft.org/schema/mule/core":set-payload, "http://www.mulesoft.org/schema/mule/core":abstract-global-intercepting-message-processor, "http://www.mulesoft.org/schema/mule/core":custom-queue-store, "http://www.mulesoft.org/schema/mule/core":abstract-processing-strategy}' is expected. at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:399) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE] at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:336) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE] at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:304) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE] at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:181) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE] at org.mule.runtime.config.spring.MuleArtifactContext.loadBeanDefinitions(MuleArtifactContext.java:202) ~[mule-module-spring-config-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:129) ~[spring-context-4.1.6.RELEASE.jar:4.1.6.RELEASE] at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:537) ~[spring-context-4.1.6.RELEASE.jar:4.1.6.RELEASE] at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:452) ~[spring-context-4.1.6.RELEASE.jar:4.1.6.RELEASE] at org.mule.runtime.config.spring.SpringRegistry.doInitialise(SpringRegistry.java:109) ~[mule-module-spring-config-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.registry.AbstractRegistry.initialise(AbstractRegistry.java:107) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.config.spring.SpringXmlConfigurationBuilder.createSpringRegistry(SpringXmlConfigurationBuilder.java:190) ~[mule-module-spring-config-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.config.spring.SpringXmlConfigurationBuilder.doConfigure(SpringXmlConfigurationBuilder.java:113) ~[mule-module-spring-config-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.config.builders.AbstractConfigurationBuilder.configure(AbstractConfigurationBuilder.java:43) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.config.builders.AbstractResourceConfigurationBuilder.configure(AbstractResourceConfigurationBuilder.java:69) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.config.builders.AutoConfigurationBuilder.autoConfigure(AutoConfigurationBuilder.java:101) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.config.builders.AutoConfigurationBuilder.doConfigure(AutoConfigurationBuilder.java:52) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.config.builders.AbstractConfigurationBuilder.configure(AbstractConfigurationBuilder.java:43) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.config.builders.AbstractResourceConfigurationBuilder.configure(AbstractResourceConfigurationBuilder.java:69) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.context.DefaultMuleContextFactory$1.configure(DefaultMuleContextFactory.java:89) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.context.DefaultMuleContextFactory.doCreateMuleContext(DefaultMuleContextFactory.java:222) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.context.DefaultMuleContextFactory.createMuleContext(DefaultMuleContextFactory.java:81) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.module.launcher.application.DefaultMuleApplication.init(DefaultMuleApplication.java:186) ~[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] ... 21 more Caused by: org.xml.sax.SAXParseException: cvc-complex-type.2.4.a: Invalid content was found starting with element 'metadata:config'. One of '{"http://www.mulesoft.org/schema/mule/core":annotations, "http://www.mulesoft.org/schema/mule/core":description, "http://www.springframework.org/schema/beans":beans, "http://www.springframework.org/schema/beans":bean, "http://www.springframework.org/schema/context":property-placeholder, "http://www.springframework.org/schema/beans":ref, "http://www.mulesoft.org/schema/mule/core":global-property, "http://www.mulesoft.org/schema/mule/core":configuration, "http://www.mulesoft.org/schema/mule/core":notifications, "http://www.mulesoft.org/schema/mule/core":abstract-extension, "http://www.mulesoft.org/schema/mule/core":abstract-shared-extension, "http://www.mulesoft.org/schema/mule/core":abstract-mixed-content-extension, "http://www.mulesoft.org/schema/mule/core":abstract-agent, "http://www.mulesoft.org/schema/mule/core":abstract-security-manager, "http://www.mulesoft.org/schema/mule/core":abstract-transaction-manager, "http://www.mulesoft.org/schema/mule/core":abstract-shared-transaction-manager, "http://www.mulesoft.org/schema/mule/core":abstract-connector, "http://www.mulesoft.org/schema/mule/core":abstract-shared-connector, "http://www.mulesoft.org/schema/mule/core":abstract-global-endpoint, "http://www.mulesoft.org/schema/mule/core":abstract-exception-strategy, "http://www.mulesoft.org/schema/mule/core":abstract-flow-construct, "http://www.mulesoft.org/schema/mule/core":flow, "http://www.mulesoft.org/schema/mule/core":sub-flow, "http://www.mulesoft.org/schema/mule/core":abstract-interceptor-stack, "http://www.mulesoft.org/schema/mule/core":abstract-filter, "http://www.mulesoft.org/schema/mule/core":abstract-transformer, "http://www.mulesoft.org/schema/mule/core":processor-chain, "http://www.mulesoft.org/schema/mule/core":custom-processor, "http://www.mulesoft.org/schema/mule/core":abstract-empty-processor, "http://www.mulesoft.org/schema/mule/core":invoke, "http://www.mulesoft.org/schema/mule/core":set-payload, "http://www.mulesoft.org/schema/mule/core":abstract-global-intercepting-message-processor, "http://www.mulesoft.org/schema/mule/core":custom-queue-store, "http://www.mulesoft.org/schema/mule/core":abstract-processing-strategy}' is expected. 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.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) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE] at org.mule.runtime.config.spring.MuleDocumentLoader.loadDocument(MuleDocumentLoader.java:86) ~[mule-module-spring-config-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadDocument(XmlBeanDefinitionReader.java:429) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE] at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:391) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE] at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:336) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE] at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:304) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE] at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:181) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE] at org.mule.runtime.config.spring.MuleArtifactContext.loadBeanDefinitions(MuleArtifactContext.java:202) ~[mule-module-spring-config-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:129) ~[spring-context-4.1.6.RELEASE.jar:4.1.6.RELEASE] at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:537) ~[spring-context-4.1.6.RELEASE.jar:4.1.6.RELEASE] at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:452) ~[spring-context-4.1.6.RELEASE.jar:4.1.6.RELEASE] at org.mule.runtime.config.spring.SpringRegistry.doInitialise(SpringRegistry.java:109) ~[mule-module-spring-config-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.registry.AbstractRegistry.initialise(AbstractRegistry.java:107) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.config.spring.SpringXmlConfigurationBuilder.createSpringRegistry(SpringXmlConfigurationBuilder.java:190) ~[mule-module-spring-config-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.config.spring.SpringXmlConfigurationBuilder.doConfigure(SpringXmlConfigurationBuilder.java:113) ~[mule-module-spring-config-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.config.builders.AbstractConfigurationBuilder.configure(AbstractConfigurationBuilder.java:43) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.config.builders.AbstractResourceConfigurationBuilder.configure(AbstractResourceConfigurationBuilder.java:69) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.config.builders.AutoConfigurationBuilder.autoConfigure(AutoConfigurationBuilder.java:101) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.config.builders.AutoConfigurationBuilder.doConfigure(AutoConfigurationBuilder.java:52) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.config.builders.AbstractConfigurationBuilder.configure(AbstractConfigurationBuilder.java:43) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.config.builders.AbstractResourceConfigurationBuilder.configure(AbstractResourceConfigurationBuilder.java:69) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.context.DefaultMuleContextFactory$1.configure(DefaultMuleContextFactory.java:89) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.context.DefaultMuleContextFactory.doCreateMuleContext(DefaultMuleContextFactory.java:222) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.context.DefaultMuleContextFactory.createMuleContext(DefaultMuleContextFactory.java:81) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.module.launcher.application.DefaultMuleApplication.init(DefaultMuleApplication.java:186) ~[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] ... 21 more {code} * This issue is not reproducible with bundled extensions, due that the extension JAR is already located inside {{lib/mule}} folder * As workaround for this issue, is to do the same as bundled extensions and contribute there with the extensions jar. * *Mule App attached in the ticket*

    MuleSoft JIRA | 7 months ago | Esteban Wasinger
    org.mule.runtime.module.launcher.DeploymentInitException: SAXParseException: cvc-complex-type.2.4.a: Invalid content was found starting with element 'metadata:config'. One of '{"http://www.mulesoft.org/schema/mule/core":annotations, "http://www.mulesoft.org/schema/mule/core":description, "http://www.springframework.org/schema/beans":beans, "http://www.springframework.org/schema/beans":bean, "http://www.springframework.org/schema/context":property-placeholder, "http://www.springframework.org/schema/beans":ref, "http://www.mulesoft.org/schema/mule/core":global-property, "http://www.mulesoft.org/schema/mule/core":configuration, "http://www.mulesoft.org/schema/mule/core":notifications, "http://www.mulesoft.org/schema/mule/core":abstract-extension, "http://www.mulesoft.org/schema/mule/core":abstract-shared-extension, "http://www.mulesoft.org/schema/mule/core":abstract-mixed-content-extension, "http://www.mulesoft.org/schema/mule/core":abstract-agent, "http://www.mulesoft.org/schema/mule/core":abstract-security-manager, "http://www.mulesoft.org/schema/mule/core":abstract-transaction-manager, "http://www.mulesoft.org/schema/mule/core":abstract-shared-transaction-manager, "http://www.mulesoft.org/schema/mule/core":abstract-connector, "http://www.mulesoft.org/schema/mule/core":abstract-shared-connector, "http://www.mulesoft.org/schema/mule/core":abstract-global-endpoint, "http://www.mulesoft.org/schema/mule/core":abstract-exception-strategy, "http://www.mulesoft.org/schema/mule/core":abstract-flow-construct, "http://www.mulesoft.org/schema/mule/core":flow, "http://www.mulesoft.org/schema/mule/core":sub-flow, "http://www.mulesoft.org/schema/mule/core":abstract-interceptor-stack, "http://www.mulesoft.org/schema/mule/core":abstract-filter, "http://www.mulesoft.org/schema/mule/core":abstract-transformer, "http://www.mulesoft.org/schema/mule/core":processor-chain, "http://www.mulesoft.org/schema/mule/core":custom-processor, "http://www.mulesoft.org/schema/mule/core":abstract-empty-processor, "http://www.mulesoft.org/schema/mule/core":invoke, "http://www.mulesoft.org/schema/mule/core":set-payload, "http://www.mulesoft.org/schema/mule/core":abstract-global-intercepting-message-processor, "http://www.mulesoft.org/schema/mule/core":custom-queue-store, "http://www.mulesoft.org/schema/mule/core":abstract-processing-strategy}' is expected.
  2. 0

    c*Mule doesn't load extension's JAR when starting mule application* * When starting a Mule application that uses SDK made extensions, the extension JAR is not loaded correctly. ** This implies, for example, that the namespace handler is never loaded and fails when trying to parse the XML. *StackTrace*: {code}++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + Failed to deploy artifact 'muuulw-4', see below + ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ org.mule.runtime.module.launcher.DeploymentInitException: SAXParseException: cvc-complex-type.2.4.a: Invalid content was found starting with element 'metadata:config'. One of '{"http://www.mulesoft.org/schema/mule/core":annotations, "http://www.mulesoft.org/schema/mule/core":description, "http://www.springframework.org/schema/beans":beans, "http://www.springframework.org/schema/beans":bean, "http://www.springframework.org/schema/context":property-placeholder, "http://www.springframework.org/schema/beans":ref, "http://www.mulesoft.org/schema/mule/core":global-property, "http://www.mulesoft.org/schema/mule/core":configuration, "http://www.mulesoft.org/schema/mule/core":notifications, "http://www.mulesoft.org/schema/mule/core":abstract-extension, "http://www.mulesoft.org/schema/mule/core":abstract-shared-extension, "http://www.mulesoft.org/schema/mule/core":abstract-mixed-content-extension, "http://www.mulesoft.org/schema/mule/core":abstract-agent, "http://www.mulesoft.org/schema/mule/core":abstract-security-manager, "http://www.mulesoft.org/schema/mule/core":abstract-transaction-manager, "http://www.mulesoft.org/schema/mule/core":abstract-shared-transaction-manager, "http://www.mulesoft.org/schema/mule/core":abstract-connector, "http://www.mulesoft.org/schema/mule/core":abstract-shared-connector, "http://www.mulesoft.org/schema/mule/core":abstract-global-endpoint, "http://www.mulesoft.org/schema/mule/core":abstract-exception-strategy, "http://www.mulesoft.org/schema/mule/core":abstract-flow-construct, "http://www.mulesoft.org/schema/mule/core":flow, "http://www.mulesoft.org/schema/mule/core":sub-flow, "http://www.mulesoft.org/schema/mule/core":abstract-interceptor-stack, "http://www.mulesoft.org/schema/mule/core":abstract-filter, "http://www.mulesoft.org/schema/mule/core":abstract-transformer, "http://www.mulesoft.org/schema/mule/core":processor-chain, "http://www.mulesoft.org/schema/mule/core":custom-processor, "http://www.mulesoft.org/schema/mule/core":abstract-empty-processor, "http://www.mulesoft.org/schema/mule/core":invoke, "http://www.mulesoft.org/schema/mule/core":set-payload, "http://www.mulesoft.org/schema/mule/core":abstract-global-intercepting-message-processor, "http://www.mulesoft.org/schema/mule/core":custom-queue-store, "http://www.mulesoft.org/schema/mule/core":abstract-processing-strategy}' is expected. at org.mule.runtime.module.launcher.application.DefaultMuleApplication.init(DefaultMuleApplication.java:195) ~[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.util.ClassUtils.lambda$withContextClassLoader$10(ClassUtils.java:1214) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.util.ClassUtils.withContextClassLoader(ClassUtils.java:1193) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.util.ClassUtils.withContextClassLoader(ClassUtils.java:1213) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.module.launcher.artifact.DeployableArtifactWrapper.executeWithinArtifactClassLoader(DeployableArtifactWrapper.java:95) ~[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.module.launcher.artifact.DeployableArtifactWrapper.init(DeployableArtifactWrapper.java:53) ~[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.module.launcher.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:25) ~[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.module.launcher.DefaultArchiveDeployer.guardedDeploy(DefaultArchiveDeployer.java:324) ~[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.module.launcher.DefaultArchiveDeployer.deployArtifact(DefaultArchiveDeployer.java:345) ~[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.module.launcher.DefaultArchiveDeployer.deployExplodedApp(DefaultArchiveDeployer.java:311) ~[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.module.launcher.DefaultArchiveDeployer.deployExplodedArtifact(DefaultArchiveDeployer.java:114) ~[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.module.launcher.DefaultArchiveDeployer.deployExplodedArtifact(DefaultArchiveDeployer.java:41) ~[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.module.launcher.DeploymentDirectoryWatcher.deployExplodedApps(DeploymentDirectoryWatcher.java:290) ~[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.module.launcher.DeploymentDirectoryWatcher.start(DeploymentDirectoryWatcher.java:151) ~[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.module.launcher.MuleDeploymentService.start(MuleDeploymentService.java:132) ~[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.module.launcher.MuleContainer.start(MuleContainer.java:170) ~[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_66] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_66] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_66] at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_66] at org.mule.runtime.module.reboot.MuleContainerWrapper.start(MuleContainerWrapper.java:52) ~[mule-module-boot-ee-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.tanukisoftware.wrapper.WrapperManager$11.run(WrapperManager.java:4242) ~[wrapper-3.5.29.jar:3.5.29] Caused by: org.mule.runtime.core.api.config.ConfigurationException: Line 10 in XML document from URL [file:/Users/estebanwasinger/Downloads/mule-4-distributions/mule-with-out-fix/mule-enterprise-standalone-4.0-SNAPSHOT/apps/muuulw-4/mule-config.xml] is invalid; nested exception is org.xml.sax.SAXParseException: cvc-complex-type.2.4.a: Invalid content was found starting with element 'metadata:config'. One of '{"http://www.mulesoft.org/schema/mule/core":annotations, "http://www.mulesoft.org/schema/mule/core":description, "http://www.springframework.org/schema/beans":beans, "http://www.springframework.org/schema/beans":bean, "http://www.springframework.org/schema/context":property-placeholder, "http://www.springframework.org/schema/beans":ref, "http://www.mulesoft.org/schema/mule/core":global-property, "http://www.mulesoft.org/schema/mule/core":configuration, "http://www.mulesoft.org/schema/mule/core":notifications, "http://www.mulesoft.org/schema/mule/core":abstract-extension, "http://www.mulesoft.org/schema/mule/core":abstract-shared-extension, "http://www.mulesoft.org/schema/mule/core":abstract-mixed-content-extension, "http://www.mulesoft.org/schema/mule/core":abstract-agent, "http://www.mulesoft.org/schema/mule/core":abstract-security-manager, "http://www.mulesoft.org/schema/mule/core":abstract-transaction-manager, "http://www.mulesoft.org/schema/mule/core":abstract-shared-transaction-manager, "http://www.mulesoft.org/schema/mule/core":abstract-connector, "http://www.mulesoft.org/schema/mule/core":abstract-shared-connector, "http://www.mulesoft.org/schema/mule/core":abstract-global-endpoint, "http://www.mulesoft.org/schema/mule/core":abstract-exception-strategy, "http://www.mulesoft.org/schema/mule/core":abstract-flow-construct, "http://www.mulesoft.org/schema/mule/core":flow, "http://www.mulesoft.org/schema/mule/core":sub-flow, "http://www.mulesoft.org/schema/mule/core":abstract-interceptor-stack, "http://www.mulesoft.org/schema/mule/core":abstract-filter, "http://www.mulesoft.org/schema/mule/core":abstract-transformer, "http://www.mulesoft.org/schema/mule/core":processor-chain, "http://www.mulesoft.org/schema/mule/core":custom-processor, "http://www.mulesoft.org/schema/mule/core":abstract-empty-processor, "http://www.mulesoft.org/schema/mule/core":invoke, "http://www.mulesoft.org/schema/mule/core":set-payload, "http://www.mulesoft.org/schema/mule/core":abstract-global-intercepting-message-processor, "http://www.mulesoft.org/schema/mule/core":custom-queue-store, "http://www.mulesoft.org/schema/mule/core":abstract-processing-strategy}' is expected. (org.mule.runtime.core.api.lifecycle.InitialisationException) (org.mule.runtime.core.api.config.ConfigurationException) at org.mule.runtime.core.config.builders.AbstractConfigurationBuilder.configure(AbstractConfigurationBuilder.java:49) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.config.builders.AbstractResourceConfigurationBuilder.configure(AbstractResourceConfigurationBuilder.java:69) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.context.DefaultMuleContextFactory$1.configure(DefaultMuleContextFactory.java:89) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.context.DefaultMuleContextFactory.doCreateMuleContext(DefaultMuleContextFactory.java:222) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.context.DefaultMuleContextFactory.createMuleContext(DefaultMuleContextFactory.java:81) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.module.launcher.application.DefaultMuleApplication.init(DefaultMuleApplication.java:186) ~[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] ... 21 more Caused by: org.mule.runtime.core.api.config.ConfigurationException: Line 10 in XML document from URL [file:/Users/estebanwasinger/Downloads/mule-4-distributions/mule-with-out-fix/mule-enterprise-standalone-4.0-SNAPSHOT/apps/muuulw-4/mule-config.xml] is invalid; nested exception is org.xml.sax.SAXParseException: cvc-complex-type.2.4.a: Invalid content was found starting with element 'metadata:config'. One of '{"http://www.mulesoft.org/schema/mule/core":annotations, "http://www.mulesoft.org/schema/mule/core":description, "http://www.springframework.org/schema/beans":beans, "http://www.springframework.org/schema/beans":bean, "http://www.springframework.org/schema/context":property-placeholder, "http://www.springframework.org/schema/beans":ref, "http://www.mulesoft.org/schema/mule/core":global-property, "http://www.mulesoft.org/schema/mule/core":configuration, "http://www.mulesoft.org/schema/mule/core":notifications, "http://www.mulesoft.org/schema/mule/core":abstract-extension, "http://www.mulesoft.org/schema/mule/core":abstract-shared-extension, "http://www.mulesoft.org/schema/mule/core":abstract-mixed-content-extension, "http://www.mulesoft.org/schema/mule/core":abstract-agent, "http://www.mulesoft.org/schema/mule/core":abstract-security-manager, "http://www.mulesoft.org/schema/mule/core":abstract-transaction-manager, "http://www.mulesoft.org/schema/mule/core":abstract-shared-transaction-manager, "http://www.mulesoft.org/schema/mule/core":abstract-connector, "http://www.mulesoft.org/schema/mule/core":abstract-shared-connector, "http://www.mulesoft.org/schema/mule/core":abstract-global-endpoint, "http://www.mulesoft.org/schema/mule/core":abstract-exception-strategy, "http://www.mulesoft.org/schema/mule/core":abstract-flow-construct, "http://www.mulesoft.org/schema/mule/core":flow, "http://www.mulesoft.org/schema/mule/core":sub-flow, "http://www.mulesoft.org/schema/mule/core":abstract-interceptor-stack, "http://www.mulesoft.org/schema/mule/core":abstract-filter, "http://www.mulesoft.org/schema/mule/core":abstract-transformer, "http://www.mulesoft.org/schema/mule/core":processor-chain, "http://www.mulesoft.org/schema/mule/core":custom-processor, "http://www.mulesoft.org/schema/mule/core":abstract-empty-processor, "http://www.mulesoft.org/schema/mule/core":invoke, "http://www.mulesoft.org/schema/mule/core":set-payload, "http://www.mulesoft.org/schema/mule/core":abstract-global-intercepting-message-processor, "http://www.mulesoft.org/schema/mule/core":custom-queue-store, "http://www.mulesoft.org/schema/mule/core":abstract-processing-strategy}' is expected. (org.mule.runtime.core.api.lifecycle.InitialisationException) at org.mule.runtime.core.config.builders.AbstractConfigurationBuilder.configure(AbstractConfigurationBuilder.java:49) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.config.builders.AbstractResourceConfigurationBuilder.configure(AbstractResourceConfigurationBuilder.java:69) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.config.builders.AutoConfigurationBuilder.autoConfigure(AutoConfigurationBuilder.java:101) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.config.builders.AutoConfigurationBuilder.doConfigure(AutoConfigurationBuilder.java:52) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.config.builders.AbstractConfigurationBuilder.configure(AbstractConfigurationBuilder.java:43) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.config.builders.AbstractResourceConfigurationBuilder.configure(AbstractResourceConfigurationBuilder.java:69) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.context.DefaultMuleContextFactory$1.configure(DefaultMuleContextFactory.java:89) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.context.DefaultMuleContextFactory.doCreateMuleContext(DefaultMuleContextFactory.java:222) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.context.DefaultMuleContextFactory.createMuleContext(DefaultMuleContextFactory.java:81) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.module.launcher.application.DefaultMuleApplication.init(DefaultMuleApplication.java:186) ~[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] ... 21 more Caused by: org.mule.runtime.core.api.lifecycle.InitialisationException: Line 10 in XML document from URL [file:/Users/estebanwasinger/Downloads/mule-4-distributions/mule-with-out-fix/mule-enterprise-standalone-4.0-SNAPSHOT/apps/muuulw-4/mule-config.xml] is invalid; nested exception is org.xml.sax.SAXParseException: cvc-complex-type.2.4.a: Invalid content was found starting with element 'metadata:config'. One of '{"http://www.mulesoft.org/schema/mule/core":annotations, "http://www.mulesoft.org/schema/mule/core":description, "http://www.springframework.org/schema/beans":beans, "http://www.springframework.org/schema/beans":bean, "http://www.springframework.org/schema/context":property-placeholder, "http://www.springframework.org/schema/beans":ref, "http://www.mulesoft.org/schema/mule/core":global-property, "http://www.mulesoft.org/schema/mule/core":configuration, "http://www.mulesoft.org/schema/mule/core":notifications, "http://www.mulesoft.org/schema/mule/core":abstract-extension, "http://www.mulesoft.org/schema/mule/core":abstract-shared-extension, "http://www.mulesoft.org/schema/mule/core":abstract-mixed-content-extension, "http://www.mulesoft.org/schema/mule/core":abstract-agent, "http://www.mulesoft.org/schema/mule/core":abstract-security-manager, "http://www.mulesoft.org/schema/mule/core":abstract-transaction-manager, "http://www.mulesoft.org/schema/mule/core":abstract-shared-transaction-manager, "http://www.mulesoft.org/schema/mule/core":abstract-connector, "http://www.mulesoft.org/schema/mule/core":abstract-shared-connector, "http://www.mulesoft.org/schema/mule/core":abstract-global-endpoint, "http://www.mulesoft.org/schema/mule/core":abstract-exception-strategy, "http://www.mulesoft.org/schema/mule/core":abstract-flow-construct, "http://www.mulesoft.org/schema/mule/core":flow, "http://www.mulesoft.org/schema/mule/core":sub-flow, "http://www.mulesoft.org/schema/mule/core":abstract-interceptor-stack, "http://www.mulesoft.org/schema/mule/core":abstract-filter, "http://www.mulesoft.org/schema/mule/core":abstract-transformer, "http://www.mulesoft.org/schema/mule/core":processor-chain, "http://www.mulesoft.org/schema/mule/core":custom-processor, "http://www.mulesoft.org/schema/mule/core":abstract-empty-processor, "http://www.mulesoft.org/schema/mule/core":invoke, "http://www.mulesoft.org/schema/mule/core":set-payload, "http://www.mulesoft.org/schema/mule/core":abstract-global-intercepting-message-processor, "http://www.mulesoft.org/schema/mule/core":custom-queue-store, "http://www.mulesoft.org/schema/mule/core":abstract-processing-strategy}' is expected. at org.mule.runtime.core.registry.AbstractRegistry.initialise(AbstractRegistry.java:115) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.config.spring.SpringXmlConfigurationBuilder.createSpringRegistry(SpringXmlConfigurationBuilder.java:190) ~[mule-module-spring-config-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.config.spring.SpringXmlConfigurationBuilder.doConfigure(SpringXmlConfigurationBuilder.java:113) ~[mule-module-spring-config-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.config.builders.AbstractConfigurationBuilder.configure(AbstractConfigurationBuilder.java:43) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.config.builders.AbstractResourceConfigurationBuilder.configure(AbstractResourceConfigurationBuilder.java:69) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.config.builders.AutoConfigurationBuilder.autoConfigure(AutoConfigurationBuilder.java:101) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.config.builders.AutoConfigurationBuilder.doConfigure(AutoConfigurationBuilder.java:52) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.config.builders.AbstractConfigurationBuilder.configure(AbstractConfigurationBuilder.java:43) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.config.builders.AbstractResourceConfigurationBuilder.configure(AbstractResourceConfigurationBuilder.java:69) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.context.DefaultMuleContextFactory$1.configure(DefaultMuleContextFactory.java:89) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.context.DefaultMuleContextFactory.doCreateMuleContext(DefaultMuleContextFactory.java:222) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.context.DefaultMuleContextFactory.createMuleContext(DefaultMuleContextFactory.java:81) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.module.launcher.application.DefaultMuleApplication.init(DefaultMuleApplication.java:186) ~[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] ... 21 more Caused by: org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 10 in XML document from URL [file:/Users/estebanwasinger/Downloads/mule-4-distributions/mule-with-out-fix/mule-enterprise-standalone-4.0-SNAPSHOT/apps/muuulw-4/mule-config.xml] is invalid; nested exception is org.xml.sax.SAXParseException: cvc-complex-type.2.4.a: Invalid content was found starting with element 'metadata:config'. One of '{"http://www.mulesoft.org/schema/mule/core":annotations, "http://www.mulesoft.org/schema/mule/core":description, "http://www.springframework.org/schema/beans":beans, "http://www.springframework.org/schema/beans":bean, "http://www.springframework.org/schema/context":property-placeholder, "http://www.springframework.org/schema/beans":ref, "http://www.mulesoft.org/schema/mule/core":global-property, "http://www.mulesoft.org/schema/mule/core":configuration, "http://www.mulesoft.org/schema/mule/core":notifications, "http://www.mulesoft.org/schema/mule/core":abstract-extension, "http://www.mulesoft.org/schema/mule/core":abstract-shared-extension, "http://www.mulesoft.org/schema/mule/core":abstract-mixed-content-extension, "http://www.mulesoft.org/schema/mule/core":abstract-agent, "http://www.mulesoft.org/schema/mule/core":abstract-security-manager, "http://www.mulesoft.org/schema/mule/core":abstract-transaction-manager, "http://www.mulesoft.org/schema/mule/core":abstract-shared-transaction-manager, "http://www.mulesoft.org/schema/mule/core":abstract-connector, "http://www.mulesoft.org/schema/mule/core":abstract-shared-connector, "http://www.mulesoft.org/schema/mule/core":abstract-global-endpoint, "http://www.mulesoft.org/schema/mule/core":abstract-exception-strategy, "http://www.mulesoft.org/schema/mule/core":abstract-flow-construct, "http://www.mulesoft.org/schema/mule/core":flow, "http://www.mulesoft.org/schema/mule/core":sub-flow, "http://www.mulesoft.org/schema/mule/core":abstract-interceptor-stack, "http://www.mulesoft.org/schema/mule/core":abstract-filter, "http://www.mulesoft.org/schema/mule/core":abstract-transformer, "http://www.mulesoft.org/schema/mule/core":processor-chain, "http://www.mulesoft.org/schema/mule/core":custom-processor, "http://www.mulesoft.org/schema/mule/core":abstract-empty-processor, "http://www.mulesoft.org/schema/mule/core":invoke, "http://www.mulesoft.org/schema/mule/core":set-payload, "http://www.mulesoft.org/schema/mule/core":abstract-global-intercepting-message-processor, "http://www.mulesoft.org/schema/mule/core":custom-queue-store, "http://www.mulesoft.org/schema/mule/core":abstract-processing-strategy}' is expected. at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:399) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE] at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:336) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE] at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:304) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE] at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:181) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE] at org.mule.runtime.config.spring.MuleArtifactContext.loadBeanDefinitions(MuleArtifactContext.java:202) ~[mule-module-spring-config-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:129) ~[spring-context-4.1.6.RELEASE.jar:4.1.6.RELEASE] at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:537) ~[spring-context-4.1.6.RELEASE.jar:4.1.6.RELEASE] at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:452) ~[spring-context-4.1.6.RELEASE.jar:4.1.6.RELEASE] at org.mule.runtime.config.spring.SpringRegistry.doInitialise(SpringRegistry.java:109) ~[mule-module-spring-config-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.registry.AbstractRegistry.initialise(AbstractRegistry.java:107) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.config.spring.SpringXmlConfigurationBuilder.createSpringRegistry(SpringXmlConfigurationBuilder.java:190) ~[mule-module-spring-config-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.config.spring.SpringXmlConfigurationBuilder.doConfigure(SpringXmlConfigurationBuilder.java:113) ~[mule-module-spring-config-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.config.builders.AbstractConfigurationBuilder.configure(AbstractConfigurationBuilder.java:43) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.config.builders.AbstractResourceConfigurationBuilder.configure(AbstractResourceConfigurationBuilder.java:69) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.config.builders.AutoConfigurationBuilder.autoConfigure(AutoConfigurationBuilder.java:101) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.config.builders.AutoConfigurationBuilder.doConfigure(AutoConfigurationBuilder.java:52) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.config.builders.AbstractConfigurationBuilder.configure(AbstractConfigurationBuilder.java:43) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.config.builders.AbstractResourceConfigurationBuilder.configure(AbstractResourceConfigurationBuilder.java:69) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.context.DefaultMuleContextFactory$1.configure(DefaultMuleContextFactory.java:89) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.context.DefaultMuleContextFactory.doCreateMuleContext(DefaultMuleContextFactory.java:222) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.context.DefaultMuleContextFactory.createMuleContext(DefaultMuleContextFactory.java:81) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.module.launcher.application.DefaultMuleApplication.init(DefaultMuleApplication.java:186) ~[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] ... 21 more Caused by: org.xml.sax.SAXParseException: cvc-complex-type.2.4.a: Invalid content was found starting with element 'metadata:config'. One of '{"http://www.mulesoft.org/schema/mule/core":annotations, "http://www.mulesoft.org/schema/mule/core":description, "http://www.springframework.org/schema/beans":beans, "http://www.springframework.org/schema/beans":bean, "http://www.springframework.org/schema/context":property-placeholder, "http://www.springframework.org/schema/beans":ref, "http://www.mulesoft.org/schema/mule/core":global-property, "http://www.mulesoft.org/schema/mule/core":configuration, "http://www.mulesoft.org/schema/mule/core":notifications, "http://www.mulesoft.org/schema/mule/core":abstract-extension, "http://www.mulesoft.org/schema/mule/core":abstract-shared-extension, "http://www.mulesoft.org/schema/mule/core":abstract-mixed-content-extension, "http://www.mulesoft.org/schema/mule/core":abstract-agent, "http://www.mulesoft.org/schema/mule/core":abstract-security-manager, "http://www.mulesoft.org/schema/mule/core":abstract-transaction-manager, "http://www.mulesoft.org/schema/mule/core":abstract-shared-transaction-manager, "http://www.mulesoft.org/schema/mule/core":abstract-connector, "http://www.mulesoft.org/schema/mule/core":abstract-shared-connector, "http://www.mulesoft.org/schema/mule/core":abstract-global-endpoint, "http://www.mulesoft.org/schema/mule/core":abstract-exception-strategy, "http://www.mulesoft.org/schema/mule/core":abstract-flow-construct, "http://www.mulesoft.org/schema/mule/core":flow, "http://www.mulesoft.org/schema/mule/core":sub-flow, "http://www.mulesoft.org/schema/mule/core":abstract-interceptor-stack, "http://www.mulesoft.org/schema/mule/core":abstract-filter, "http://www.mulesoft.org/schema/mule/core":abstract-transformer, "http://www.mulesoft.org/schema/mule/core":processor-chain, "http://www.mulesoft.org/schema/mule/core":custom-processor, "http://www.mulesoft.org/schema/mule/core":abstract-empty-processor, "http://www.mulesoft.org/schema/mule/core":invoke, "http://www.mulesoft.org/schema/mule/core":set-payload, "http://www.mulesoft.org/schema/mule/core":abstract-global-intercepting-message-processor, "http://www.mulesoft.org/schema/mule/core":custom-queue-store, "http://www.mulesoft.org/schema/mule/core":abstract-processing-strategy}' is expected. 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.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) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE] at org.mule.runtime.config.spring.MuleDocumentLoader.loadDocument(MuleDocumentLoader.java:86) ~[mule-module-spring-config-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadDocument(XmlBeanDefinitionReader.java:429) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE] at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:391) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE] at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:336) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE] at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:304) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE] at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:181) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE] at org.mule.runtime.config.spring.MuleArtifactContext.loadBeanDefinitions(MuleArtifactContext.java:202) ~[mule-module-spring-config-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:129) ~[spring-context-4.1.6.RELEASE.jar:4.1.6.RELEASE] at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:537) ~[spring-context-4.1.6.RELEASE.jar:4.1.6.RELEASE] at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:452) ~[spring-context-4.1.6.RELEASE.jar:4.1.6.RELEASE] at org.mule.runtime.config.spring.SpringRegistry.doInitialise(SpringRegistry.java:109) ~[mule-module-spring-config-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.registry.AbstractRegistry.initialise(AbstractRegistry.java:107) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.config.spring.SpringXmlConfigurationBuilder.createSpringRegistry(SpringXmlConfigurationBuilder.java:190) ~[mule-module-spring-config-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.config.spring.SpringXmlConfigurationBuilder.doConfigure(SpringXmlConfigurationBuilder.java:113) ~[mule-module-spring-config-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.config.builders.AbstractConfigurationBuilder.configure(AbstractConfigurationBuilder.java:43) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.config.builders.AbstractResourceConfigurationBuilder.configure(AbstractResourceConfigurationBuilder.java:69) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.config.builders.AutoConfigurationBuilder.autoConfigure(AutoConfigurationBuilder.java:101) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.config.builders.AutoConfigurationBuilder.doConfigure(AutoConfigurationBuilder.java:52) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.config.builders.AbstractConfigurationBuilder.configure(AbstractConfigurationBuilder.java:43) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.config.builders.AbstractResourceConfigurationBuilder.configure(AbstractResourceConfigurationBuilder.java:69) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.context.DefaultMuleContextFactory$1.configure(DefaultMuleContextFactory.java:89) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.context.DefaultMuleContextFactory.doCreateMuleContext(DefaultMuleContextFactory.java:222) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.context.DefaultMuleContextFactory.createMuleContext(DefaultMuleContextFactory.java:81) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.module.launcher.application.DefaultMuleApplication.init(DefaultMuleApplication.java:186) ~[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] ... 21 more {code} * This issue is not reproducible with bundled extensions, due that the extension JAR is already located inside {{lib/mule}} folder * As workaround for this issue, is to do the same as bundled extensions and contribute there with the extensions jar. * *Mule App attached in the ticket*

    MuleSoft JIRA | 7 months ago | Esteban Wasinger
    org.mule.runtime.module.launcher.DeploymentInitException: SAXParseException: cvc-complex-type.2.4.a: Invalid content was found starting with element 'metadata:config'. One of '{"http://www.mulesoft.org/schema/mule/core":annotations, "http://www.mulesoft.org/schema/mule/core":description, "http://www.springframework.org/schema/beans":beans, "http://www.springframework.org/schema/beans":bean, "http://www.springframework.org/schema/context":property-placeholder, "http://www.springframework.org/schema/beans":ref, "http://www.mulesoft.org/schema/mule/core":global-property, "http://www.mulesoft.org/schema/mule/core":configuration, "http://www.mulesoft.org/schema/mule/core":notifications, "http://www.mulesoft.org/schema/mule/core":abstract-extension, "http://www.mulesoft.org/schema/mule/core":abstract-shared-extension, "http://www.mulesoft.org/schema/mule/core":abstract-mixed-content-extension, "http://www.mulesoft.org/schema/mule/core":abstract-agent, "http://www.mulesoft.org/schema/mule/core":abstract-security-manager, "http://www.mulesoft.org/schema/mule/core":abstract-transaction-manager, "http://www.mulesoft.org/schema/mule/core":abstract-shared-transaction-manager, "http://www.mulesoft.org/schema/mule/core":abstract-connector, "http://www.mulesoft.org/schema/mule/core":abstract-shared-connector, "http://www.mulesoft.org/schema/mule/core":abstract-global-endpoint, "http://www.mulesoft.org/schema/mule/core":abstract-exception-strategy, "http://www.mulesoft.org/schema/mule/core":abstract-flow-construct, "http://www.mulesoft.org/schema/mule/core":flow, "http://www.mulesoft.org/schema/mule/core":sub-flow, "http://www.mulesoft.org/schema/mule/core":abstract-interceptor-stack, "http://www.mulesoft.org/schema/mule/core":abstract-filter, "http://www.mulesoft.org/schema/mule/core":abstract-transformer, "http://www.mulesoft.org/schema/mule/core":processor-chain, "http://www.mulesoft.org/schema/mule/core":custom-processor, "http://www.mulesoft.org/schema/mule/core":abstract-empty-processor, "http://www.mulesoft.org/schema/mule/core":invoke, "http://www.mulesoft.org/schema/mule/core":set-payload, "http://www.mulesoft.org/schema/mule/core":abstract-global-intercepting-message-processor, "http://www.mulesoft.org/schema/mule/core":custom-queue-store, "http://www.mulesoft.org/schema/mule/core":abstract-processing-strategy}' is expected.
  3. 0

    When an extension has an operation with the same name as a POJO (ignoring case) and that POJO is used as an argument of the operation, the extension can be packaged, but it should fail because a Mule app with this extension fails when deployed. This is the signature of the failing method: {code:java} public DataHandler getJobResult(@NotNull final GetJobResult params) throws SuccessFactorsException; {code} And this is the Mule exception: {code} ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + Failed to deploy artifact 'connectorApp', see below + ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ org.mule.runtime.module.launcher.DeploymentException: Failed to deploy artifact [connectorApp] at org.mule.runtime.module.launcher.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:38) ~[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.module.launcher.DefaultArchiveDeployer.guardedDeploy(DefaultArchiveDeployer.java:324) ~[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.module.launcher.DefaultArchiveDeployer.deployArtifact(DefaultArchiveDeployer.java:345) ~[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.module.launcher.DefaultArchiveDeployer.deployExplodedApp(DefaultArchiveDeployer.java:311) ~[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.module.launcher.DefaultArchiveDeployer.deployExplodedArtifact(DefaultArchiveDeployer.java:114) ~[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.module.launcher.DefaultArchiveDeployer.deployExplodedArtifact(DefaultArchiveDeployer.java:41) ~[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.module.launcher.DeploymentDirectoryWatcher.deployExplodedApps(DeploymentDirectoryWatcher.java:290) ~[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.module.launcher.DeploymentDirectoryWatcher.start(DeploymentDirectoryWatcher.java:151) ~[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.module.launcher.MuleDeploymentService.start(MuleDeploymentService.java:98) ~[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.module.launcher.MuleContainer.start(MuleContainer.java:194) ~[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_73] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_73] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_73] at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_73] at org.mule.runtime.module.reboot.MuleContainerWrapper.start(MuleContainerWrapper.java:52) ~[mule-module-reboot-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.tanukisoftware.wrapper.WrapperManager$12.run(WrapperManager.java:2788) ~[wrapper-3.2.3.jar:3.2.3] Caused by: org.mule.runtime.core.api.MuleRuntimeException: org.mule.runtime.module.launcher.DeploymentInitException: 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.mule.runtime.core.util.ClassUtils.withContextClassLoader(ClassUtils.java:1218) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.module.launcher.artifact.DeployableArtifactWrapper.executeWithinArtifactClassLoader(DeployableArtifactWrapper.java:95) ~[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.module.launcher.artifact.DeployableArtifactWrapper.init(DeployableArtifactWrapper.java:53) ~[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.module.launcher.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:25) ~[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] ... 15 more Caused by: org.mule.runtime.module.launcher.DeploymentInitException: 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.mule.runtime.module.launcher.application.DefaultMuleApplication.init(DefaultMuleApplication.java:206) ~[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.util.ClassUtils.lambda$withContextClassLoader$10(ClassUtils.java:1212) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.util.ExceptionUtils.tryExpecting(ExceptionUtils.java:164) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.util.ClassUtils.withContextClassLoader(ClassUtils.java:1273) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.util.ClassUtils.withContextClassLoader(ClassUtils.java:1235) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.util.ClassUtils.withContextClassLoader(ClassUtils.java:1211) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.module.launcher.artifact.DeployableArtifactWrapper.executeWithinArtifactClassLoader(DeployableArtifactWrapper.java:95) ~[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.module.launcher.artifact.DeployableArtifactWrapper.init(DeployableArtifactWrapper.java:53) ~[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.module.launcher.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:25) ~[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] ... 15 more Caused by: org.mule.runtime.core.api.config.ConfigurationException: Line 166 in XML document from URL [file:/Users/federicobarrios/mulesoft/runtimes/mule-standalone-4.0-20160805.205005-680/apps/connectorApp/org.mule.modules.successfactors.SuccessFactorsConnector.flows.xml] is invalid; nested exception is 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'. (org.mule.runtime.core.api.lifecycle.InitialisationException) at org.mule.runtime.module.launcher.artifact.ArtifactMuleContextBuilder.lambda$build$0(ArtifactMuleContextBuilder.java:267) ~[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.util.ExceptionUtils.tryExpecting(ExceptionUtils.java:164) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.util.ClassUtils.withContextClassLoader(ClassUtils.java:1273) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.util.ClassUtils.withContextClassLoader(ClassUtils.java:1235) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.module.launcher.artifact.ArtifactMuleContextBuilder.build(ArtifactMuleContextBuilder.java:236) ~[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.module.launcher.application.DefaultMuleApplication.init(DefaultMuleApplication.java:198) ~[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.util.ClassUtils.lambda$withContextClassLoader$10(ClassUtils.java:1212) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.util.ExceptionUtils.tryExpecting(ExceptionUtils.java:164) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.util.ClassUtils.withContextClassLoader(ClassUtils.java:1273) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.util.ClassUtils.withContextClassLoader(ClassUtils.java:1235) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.util.ClassUtils.withContextClassLoader(ClassUtils.java:1211) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.module.launcher.artifact.DeployableArtifactWrapper.executeWithinArtifactClassLoader(DeployableArtifactWrapper.java:95) ~[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.module.launcher.artifact.DeployableArtifactWrapper.init(DeployableArtifactWrapper.java:53) ~[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.module.launcher.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:25) ~[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] ... 15 more Caused by: org.mule.runtime.core.api.lifecycle.InitialisationException: Line 166 in XML document from URL [file:/Users/federicobarrios/mulesoft/runtimes/mule-standalone-4.0-20160805.205005-680/apps/connectorApp/org.mule.modules.successfactors.SuccessFactorsConnector.flows.xml] is invalid; nested exception is 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.mule.runtime.core.registry.AbstractRegistry.initialise(AbstractRegistry.java:115) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.registry.AbstractRegistryBroker$1.onTransition(AbstractRegistryBroker.java:54) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.registry.AbstractRegistryBroker$1.onTransition(AbstractRegistryBroker.java:49) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.lifecycle.RegistryLifecycleManager.invokePhase(RegistryLifecycleManager.java:148) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.lifecycle.RegistryBrokerLifecycleManager.fireInitialisePhase(RegistryBrokerLifecycleManager.java:61) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.registry.AbstractRegistryBroker.initialise(AbstractRegistryBroker.java:48) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.registry.MuleRegistryHelper.fireLifecycle(MuleRegistryHelper.java:122) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.lifecycle.MuleContextLifecycleManager$MuleContextLifecycleCallback.onTransition(MuleContextLifecycleManager.java:91) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.lifecycle.MuleContextLifecycleManager$MuleContextLifecycleCallback.onTransition(MuleContextLifecycleManager.java:87) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.lifecycle.MuleContextLifecycleManager.invokePhase(MuleContextLifecycleManager.java:69) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.lifecycle.MuleContextLifecycleManager.fireLifecycle(MuleContextLifecycleManager.java:61) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.DefaultMuleContext.initialise(DefaultMuleContext.java:294) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.context.DefaultMuleContextFactory.doCreateMuleContext(DefaultMuleContextFactory.java:222) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.context.DefaultMuleContextFactory.createMuleContext(DefaultMuleContextFactory.java:83) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.module.launcher.artifact.ArtifactMuleContextBuilder.lambda$build$0(ArtifactMuleContextBuilder.java:263) ~[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.util.ExceptionUtils.tryExpecting(ExceptionUtils.java:164) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.util.ClassUtils.withContextClassLoader(ClassUtils.java:1273) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.util.ClassUtils.withContextClassLoader(ClassUtils.java:1235) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.module.launcher.artifact.ArtifactMuleContextBuilder.build(ArtifactMuleContextBuilder.java:236) ~[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.module.launcher.application.DefaultMuleApplication.init(DefaultMuleApplication.java:198) ~[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.util.ClassUtils.lambda$withContextClassLoader$10(ClassUtils.java:1212) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.util.ExceptionUtils.tryExpecting(ExceptionUtils.java:164) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.util.ClassUtils.withContextClassLoader(ClassUtils.java:1273) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.util.ClassUtils.withContextClassLoader(ClassUtils.java:1235) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.util.ClassUtils.withContextClassLoader(ClassUtils.java:1211) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.module.launcher.artifact.DeployableArtifactWrapper.executeWithinArtifactClassLoader(DeployableArtifactWrapper.java:95) ~[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.module.launcher.artifact.DeployableArtifactWrapper.init(DeployableArtifactWrapper.java:53) ~[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.module.launcher.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:25) ~[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] ... 15 more Caused by: org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 166 in XML document from URL [file:/Users/federicobarrios/mulesoft/runtimes/mule-standalone-4.0-20160805.205005-680/apps/connectorApp/org.mule.modules.successfactors.SuccessFactorsConnector.flows.xml] is invalid; nested exception is 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.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:399) ~[spring-beans-4.1.9.RELEASE.jar:4.1.9.RELEASE] at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:336) ~[spring-beans-4.1.9.RELEASE.jar:4.1.9.RELEASE] at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:304) ~[spring-beans-4.1.9.RELEASE.jar:4.1.9.RELEASE] at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:181) ~[spring-beans-4.1.9.RELEASE.jar:4.1.9.RELEASE] at org.mule.runtime.config.spring.MuleArtifactContext.loadBeanDefinitions(MuleArtifactContext.java:314) ~[mule-module-spring-config-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:129) ~[spring-context-4.1.9.RELEASE.jar:4.1.9.RELEASE] at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:541) ~[spring-context-4.1.9.RELEASE.jar:4.1.9.RELEASE] at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:452) ~[spring-context-4.1.9.RELEASE.jar:4.1.9.RELEASE] at org.mule.runtime.config.spring.SpringRegistry.doInitialise(SpringRegistry.java:125) ~[mule-module-spring-config-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.registry.AbstractRegistry.initialise(AbstractRegistry.java:107) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.registry.AbstractRegistryBroker$1.onTransition(AbstractRegistryBroker.java:54) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.registry.AbstractRegistryBroker$1.onTransition(AbstractRegistryBroker.java:49) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.lifecycle.RegistryLifecycleManager.invokePhase(RegistryLifecycleManager.java:148) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.lifecycle.RegistryBrokerLifecycleManager.fireInitialisePhase(RegistryBrokerLifecycleManager.java:61) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.registry.AbstractRegistryBroker.initialise(AbstractRegistryBroker.java:48) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.registry.MuleRegistryHelper.fireLifecycle(MuleRegistryHelper.java:122) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.lifecycle.MuleContextLifecycleManager$MuleContextLifecycleCallback.onTransition(MuleContextLifecycleManager.java:91) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.lifecycle.MuleContextLifecycleManager$MuleContextLifecycleCallback.onTransition(MuleContextLifecycleManager.java:87) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.lifecycle.MuleContextLifecycleManager.invokePhase(MuleContextLifecycleManager.java:69) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.lifecycle.MuleContextLifecycleManager.fireLifecycle(MuleContextLifecycleManager.java:61) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.DefaultMuleContext.initialise(DefaultMuleContext.java:294) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.context.DefaultMuleContextFactory.doCreateMuleContext(DefaultMuleContextFactory.java:222) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.context.DefaultMuleContextFactory.createMuleContext(DefaultMuleContextFactory.java:83) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.module.launcher.artifact.ArtifactMuleContextBuilder.lambda$build$0(ArtifactMuleContextBuilder.java:263) ~[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.util.ExceptionUtils.tryExpecting(ExceptionUtils.java:164) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.util.ClassUtils.withContextClassLoader(ClassUtils.java:1273) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.util.ClassUtils.withContextClassLoader(ClassUtils.java:1235) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.module.launcher.artifact.ArtifactMuleContextBuilder.build(ArtifactMuleContextBuilder.java:236) ~[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.module.launcher.application.DefaultMuleApplication.init(DefaultMuleApplication.java:198) ~[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.util.ClassUtils.lambda$withContextClassLoader$10(ClassUtils.java:1212) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.util.ExceptionUtils.tryExpecting(ExceptionUtils.java:164) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.util.ClassUtils.withContextClassLoader(ClassUtils.java:1273) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.util.ClassUtils.withContextClassLoader(ClassUtils.java:1235) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.util.ClassUtils.withContextClassLoader(ClassUtils.java:1211) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.module.launcher.artifact.DeployableArtifactWrapper.executeWithinArtifactClassLoader(DeployableArtifactWrapper.java:95) ~[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.module.launcher.artifact.DeployableArtifactWrapper.init(DeployableArtifactWrapper.java:53) ~[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.module.launcher.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:25) ~[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] ... 15 more Caused by: 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) ~[spring-beans-4.1.9.RELEASE.jar:4.1.9.RELEASE] at org.mule.runtime.config.spring.MuleDocumentLoader.loadDocument(MuleDocumentLoader.java:91) ~[mule-module-spring-config-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadDocument(XmlBeanDefinitionReader.java:429) ~[spring-beans-4.1.9.RELEASE.jar:4.1.9.RELEASE] at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:391) ~[spring-beans-4.1.9.RELEASE.jar:4.1.9.RELEASE] at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:336) ~[spring-beans-4.1.9.RELEASE.jar:4.1.9.RELEASE] at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:304) ~[spring-beans-4.1.9.RELEASE.jar:4.1.9.RELEASE] at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:181) ~[spring-beans-4.1.9.RELEASE.jar:4.1.9.RELEASE] at org.mule.runtime.config.spring.MuleArtifactContext.loadBeanDefinitions(MuleArtifactContext.java:314) ~[mule-module-spring-config-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:129) ~[spring-context-4.1.9.RELEASE.jar:4.1.9.RELEASE] at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:541) ~[spring-context-4.1.9.RELEASE.jar:4.1.9.RELEASE] at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:452) ~[spring-context-4.1.9.RELEASE.jar:4.1.9.RELEASE] at org.mule.runtime.config.spring.SpringRegistry.doInitialise(SpringRegistry.java:125) ~[mule-module-spring-config-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.registry.AbstractRegistry.initialise(AbstractRegistry.java:107) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.registry.AbstractRegistryBroker$1.onTransition(AbstractRegistryBroker.java:54) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.registry.AbstractRegistryBroker$1.onTransition(AbstractRegistryBroker.java:49) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.lifecycle.RegistryLifecycleManager.invokePhase(RegistryLifecycleManager.java:148) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.lifecycle.RegistryBrokerLifecycleManager.fireInitialisePhase(RegistryBrokerLifecycleManager.java:61) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.registry.AbstractRegistryBroker.initialise(AbstractRegistryBroker.java:48) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.registry.MuleRegistryHelper.fireLifecycle(MuleRegistryHelper.java:122) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.lifecycle.MuleContextLifecycleManager$MuleContextLifecycleCallback.onTransition(MuleContextLifecycleManager.java:91) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.lifecycle.MuleContextLifecycleManager$MuleContextLifecycleCallback.onTransition(MuleContextLifecycleManager.java:87) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.lifecycle.MuleContextLifecycleManager.invokePhase(MuleContextLifecycleManager.java:69) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.lifecycle.MuleContextLifecycleManager.fireLifecycle(MuleContextLifecycleManager.java:61) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.DefaultMuleContext.initialise(DefaultMuleContext.java:294) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.context.DefaultMuleContextFactory.doCreateMuleContext(DefaultMuleContextFactory.java:222) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.context.DefaultMuleContextFactory.createMuleContext(DefaultMuleContextFactory.java:83) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.module.launcher.artifact.ArtifactMuleContextBuilder.lambda$build$0(ArtifactMuleContextBuilder.java:263) ~[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.util.ExceptionUtils.tryExpecting(ExceptionUtils.java:164) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.util.ClassUtils.withContextClassLoader(ClassUtils.java:1273) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.util.ClassUtils.withContextClassLoader(ClassUtils.java:1235) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.module.launcher.artifact.ArtifactMuleContextBuilder.build(ArtifactMuleContextBuilder.java:236) ~[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.module.launcher.application.DefaultMuleApplication.init(DefaultMuleApplication.java:198) ~[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.util.ClassUtils.lambda$withContextClassLoader$10(ClassUtils.java:1212) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.util.ExceptionUtils.tryExpecting(ExceptionUtils.java:164) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.util.ClassUtils.withContextClassLoader(ClassUtils.java:1273) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.util.ClassUtils.withContextClassLoader(ClassUtils.java:1235) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.util.ClassUtils.withContextClassLoader(ClassUtils.java:1211) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.module.launcher.artifact.DeployableArtifactWrapper.executeWithinArtifactClassLoader(DeployableArtifactWrapper.java:95) ~[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.module.launcher.artifact.DeployableArtifactWrapper.init(DeployableArtifactWrapper.java:53) ~[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.module.launcher.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:25) ~[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] ... 15 more INFO 2016-08-19 13:30:46,021 [WrapperListener_start_runner] org.mule.runtime.module.launcher.DeploymentDirectoryWatcher: {code} The source code to reproduce this issue is [here|https://github.com/fbarrios/success-factors-connector/tree/40c2810a0406c75fee7e2059c9ab1a1dba55798c].

    MuleSoft JIRA | 4 months ago | Federico Barrios
    org.mule.runtime.module.launcher.DeploymentException: Failed to deploy artifact [connectorApp]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Issue with extracting-data-from-LDAP-directory example

    GitHub | 4 months ago | craigrvr
    org.mule.module.launcher.DeploymentInitException: SAXParseException: cvc-complex-type.2.4.a: Invalid content was found starting with element 'ldap:config'. One of '{"http://www.mulesoft.org/schema/mule/core":annotations, "http://www.mulesoft.org/schema/mule/core":description, "http://www.springframework.org/schema/beans":beans, "http://www.springframework.org/schema/beans":bean, "http://www.springframework.org/schema/context":property-placeholder, "http://www.springframework.org/schema/beans":ref, "http://www.mulesoft.org/schema/mule/core":global-property, "http://www.mulesoft.org/schema/mule/core":configuration, "http://www.mulesoft.org/schema/mule/core":notifications, "http://www.mulesoft.org/schema/mule/core":abstract-extension, "http://www.mulesoft.org/schema/mule/core":abstract-shared-extension, "http://www.mulesoft.org/schema/mule/core":abstract-mixed-content-extension, "http://www.mulesoft.org/schema/mule/core":abstract-agent, "http://www.mulesoft.org/schema/mule/core":abstract-security-manager, "http://www.mulesoft.org/schema/mule/core":abstract-transaction-manager, "http://www.mulesoft.org/schema/mule/core":abstract-shared-transaction-manager, "http://www.mulesoft.org/schema/mule/core":abstract-connector, "http://www.mulesoft.org/schema/mule/core":abstract-shared-connector, "http://www.mulesoft.org/schema/mule/core":abstract-global-endpoint, "http://www.mulesoft.org/schema/mule/core":abstract-exception-strategy, "http://www.mulesoft.org/schema/mule/core":abstract-flow-construct, "http://www.mulesoft.org/schema/mule/core":flow, "http://www.mulesoft.org/schema/mule/core":sub-flow, "http://www.mulesoft.org/schema/mule/core":abstract-model, "http://www.mulesoft.org/schema/mule/core":abstract-interceptor-stack, "http://www.mulesoft.org/schema/mule/core":abstract-filter, "http://www.mulesoft.org/schema/mule/core":abstract-transformer, "http://www.mulesoft.org/schema/mule/core":processor-chain, "http://www.mulesoft.org/schema/mule/core":custom-processor, "http://www.mulesoft.org/schema/mule/core":abstract-empty-processor, "http://www.mulesoft.org/schema/mule/core":invoke, "http://www.mulesoft.org/schema/mule/core":set-payload, "http://www.mulesoft.org/schema/mule/core":abstract-global-intercepting-message-processor, "http://www.mulesoft.org/schema/mule/core":custom-queue-store, "http://www.mulesoft.org/schema/mule/core":abstract-processing-strategy}' is expected.
  6. 0

    problem with graphic-builder

    GitHub | 5 years ago | orionis
    org.xml.sax.SAXParseException: cvc-elt.1: Cannot find the declaration of element 'beans'.

    33 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.xml.sax.SAXParseException

      cvc-complex-type.2.4.a: Invalid content was found starting with element 'metadata:config'. One of '{"http://www.mulesoft.org/schema/mule/core":annotations, "http://www.mulesoft.org/schema/mule/core":description, "http://www.springframework.org/schema/beans":beans, "http://www.springframework.org/schema/beans":bean, "http://www.springframework.org/schema/context":property-placeholder, "http://www.springframework.org/schema/beans":ref, "http://www.mulesoft.org/schema/mule/core":global-property, "http://www.mulesoft.org/schema/mule/core":configuration, "http://www.mulesoft.org/schema/mule/core":notifications, "http://www.mulesoft.org/schema/mule/core":abstract-extension, "http://www.mulesoft.org/schema/mule/core":abstract-shared-extension, "http://www.mulesoft.org/schema/mule/core":abstract-mixed-content-extension, "http://www.mulesoft.org/schema/mule/core":abstract-agent, "http://www.mulesoft.org/schema/mule/core":abstract-security-manager, "http://www.mulesoft.org/schema/mule/core":abstract-transaction-manager, "http://www.mulesoft.org/schema/mule/core":abstract-shared-transaction-manager, "http://www.mulesoft.org/schema/mule/core":abstract-connector, "http://www.mulesoft.org/schema/mule/core":abstract-shared-connector, "http://www.mulesoft.org/schema/mule/core":abstract-global-endpoint, "http://www.mulesoft.org/schema/mule/core":abstract-exception-strategy, "http://www.mulesoft.org/schema/mule/core":abstract-flow-construct, "http://www.mulesoft.org/schema/mule/core":flow, "http://www.mulesoft.org/schema/mule/core":sub-flow, "http://www.mulesoft.org/schema/mule/core":abstract-interceptor-stack, "http://www.mulesoft.org/schema/mule/core":abstract-filter, "http://www.mulesoft.org/schema/mule/core":abstract-transformer, "http://www.mulesoft.org/schema/mule/core":processor-chain, "http://www.mulesoft.org/schema/mule/core":custom-processor, "http://www.mulesoft.org/schema/mule/core":abstract-empty-processor, "http://www.mulesoft.org/schema/mule/core":invoke, "http://www.mulesoft.org/schema/mule/core":set-payload, "http://www.mulesoft.org/schema/mule/core":abstract-global-intercepting-message-processor, "http://www.mulesoft.org/schema/mule/core":custom-queue-store, "http://www.mulesoft.org/schema/mule/core":abstract-processing-strategy}' is expected.

      at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException()
    2. Xerces2-j
      DocumentBuilderImpl.parse
      1. org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)[?:?]
      2. org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown Source)[?:?]
      3. org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)[?:?]
      4. org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)[?:?]
      5. org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)[?:?]
      6. org.apache.xerces.impl.xs.XMLSchemaValidator$XSIErrorReporter.reportError(Unknown Source)[?:?]
      7. org.apache.xerces.impl.xs.XMLSchemaValidator.reportSchemaError(Unknown Source)[?:?]
      8. org.apache.xerces.impl.xs.XMLSchemaValidator.handleStartElement(Unknown Source)[?:?]
      9. org.apache.xerces.impl.xs.XMLSchemaValidator.startElement(Unknown Source)[?:?]
      10. org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)[?:?]
      11. org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)[?:?]
      12. org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)[?:?]
      13. org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)[?:?]
      14. org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)[?:?]
      15. org.apache.xerces.parsers.XMLParser.parse(Unknown Source)[?:?]
      16. org.apache.xerces.parsers.DOMParser.parse(Unknown Source)[?:?]
      17. org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)[?:?]
      17 frames
    3. Spring Beans
      DefaultDocumentLoader.loadDocument
      1. org.springframework.beans.factory.xml.DefaultDocumentLoader.loadDocument(DefaultDocumentLoader.java:76)[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
      1 frame
    4. org.mule.runtime
      MuleDocumentLoader.loadDocument
      1. org.mule.runtime.config.spring.MuleDocumentLoader.loadDocument(MuleDocumentLoader.java:86)[mule-module-spring-config-4.0-SNAPSHOT.jar:4.0-SNAPSHOT]
      1 frame
    5. Spring Beans
      AbstractBeanDefinitionReader.loadBeanDefinitions
      1. org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadDocument(XmlBeanDefinitionReader.java:429)[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
      2. org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:391)[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
      3. org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:336)[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
      4. org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:304)[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
      5. org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:181)[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
      5 frames
    6. org.mule.runtime
      MuleArtifactContext.loadBeanDefinitions
      1. org.mule.runtime.config.spring.MuleArtifactContext.loadBeanDefinitions(MuleArtifactContext.java:202)[mule-module-spring-config-4.0-SNAPSHOT.jar:4.0-SNAPSHOT]
      1 frame
    7. Spring Context
      AbstractApplicationContext.refresh
      1. org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:129)[spring-context-4.1.6.RELEASE.jar:4.1.6.RELEASE]
      2. org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:537)[spring-context-4.1.6.RELEASE.jar:4.1.6.RELEASE]
      3. org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:452)[spring-context-4.1.6.RELEASE.jar:4.1.6.RELEASE]
      3 frames
    8. org.mule.runtime
      MuleContainer.start
      1. org.mule.runtime.config.spring.SpringRegistry.doInitialise(SpringRegistry.java:109)[mule-module-spring-config-4.0-SNAPSHOT.jar:4.0-SNAPSHOT]
      2. org.mule.runtime.core.registry.AbstractRegistry.initialise(AbstractRegistry.java:107)[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT]
      3. org.mule.runtime.config.spring.SpringXmlConfigurationBuilder.createSpringRegistry(SpringXmlConfigurationBuilder.java:190)[mule-module-spring-config-4.0-SNAPSHOT.jar:4.0-SNAPSHOT]
      4. org.mule.runtime.config.spring.SpringXmlConfigurationBuilder.doConfigure(SpringXmlConfigurationBuilder.java:113)[mule-module-spring-config-4.0-SNAPSHOT.jar:4.0-SNAPSHOT]
      5. org.mule.runtime.core.config.builders.AbstractConfigurationBuilder.configure(AbstractConfigurationBuilder.java:43)[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT]
      6. org.mule.runtime.core.config.builders.AbstractResourceConfigurationBuilder.configure(AbstractResourceConfigurationBuilder.java:69)[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT]
      7. org.mule.runtime.core.config.builders.AutoConfigurationBuilder.autoConfigure(AutoConfigurationBuilder.java:101)[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT]
      8. org.mule.runtime.core.config.builders.AutoConfigurationBuilder.doConfigure(AutoConfigurationBuilder.java:52)[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT]
      9. org.mule.runtime.core.config.builders.AbstractConfigurationBuilder.configure(AbstractConfigurationBuilder.java:43)[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT]
      10. org.mule.runtime.core.config.builders.AbstractResourceConfigurationBuilder.configure(AbstractResourceConfigurationBuilder.java:69)[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT]
      11. org.mule.runtime.core.context.DefaultMuleContextFactory$1.configure(DefaultMuleContextFactory.java:89)[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT]
      12. org.mule.runtime.core.context.DefaultMuleContextFactory.doCreateMuleContext(DefaultMuleContextFactory.java:222)[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT]
      13. org.mule.runtime.core.context.DefaultMuleContextFactory.createMuleContext(DefaultMuleContextFactory.java:81)[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT]
      14. org.mule.runtime.module.launcher.application.DefaultMuleApplication.init(DefaultMuleApplication.java:186)[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT]
      15. org.mule.runtime.core.util.ClassUtils.lambda$withContextClassLoader$10(ClassUtils.java:1214)[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT]
      16. org.mule.runtime.core.util.ClassUtils.withContextClassLoader(ClassUtils.java:1193)[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT]
      17. org.mule.runtime.core.util.ClassUtils.withContextClassLoader(ClassUtils.java:1213)[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT]
      18. org.mule.runtime.module.launcher.artifact.DeployableArtifactWrapper.executeWithinArtifactClassLoader(DeployableArtifactWrapper.java:95)[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT]
      19. org.mule.runtime.module.launcher.artifact.DeployableArtifactWrapper.init(DeployableArtifactWrapper.java:53)[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT]
      20. org.mule.runtime.module.launcher.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:25)[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT]
      21. org.mule.runtime.module.launcher.DefaultArchiveDeployer.guardedDeploy(DefaultArchiveDeployer.java:324)[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT]
      22. org.mule.runtime.module.launcher.DefaultArchiveDeployer.deployArtifact(DefaultArchiveDeployer.java:345)[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT]
      23. org.mule.runtime.module.launcher.DefaultArchiveDeployer.deployExplodedApp(DefaultArchiveDeployer.java:311)[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT]
      24. org.mule.runtime.module.launcher.DefaultArchiveDeployer.deployExplodedArtifact(DefaultArchiveDeployer.java:114)[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT]
      25. org.mule.runtime.module.launcher.DefaultArchiveDeployer.deployExplodedArtifact(DefaultArchiveDeployer.java:41)[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT]
      26. org.mule.runtime.module.launcher.DeploymentDirectoryWatcher.deployExplodedApps(DeploymentDirectoryWatcher.java:290)[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT]
      27. org.mule.runtime.module.launcher.DeploymentDirectoryWatcher.start(DeploymentDirectoryWatcher.java:151)[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT]
      28. org.mule.runtime.module.launcher.MuleDeploymentService.start(MuleDeploymentService.java:132)[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT]
      29. org.mule.runtime.module.launcher.MuleContainer.start(MuleContainer.java:170)[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT]
      29 frames
    9. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[?:1.8.0_66]
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[?:1.8.0_66]
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[?:1.8.0_66]
      4. java.lang.reflect.Method.invoke(Method.java:497)[?:1.8.0_66]
      4 frames
    10. org.mule.runtime
      MuleContainerWrapper.start
      1. org.mule.runtime.module.reboot.MuleContainerWrapper.start(MuleContainerWrapper.java:52)[mule-module-boot-ee-4.0-SNAPSHOT.jar:4.0-SNAPSHOT]
      1 frame
    11. Java Service Wrapper
      WrapperManager$11.run
      1. org.tanukisoftware.wrapper.WrapperManager$11.run(WrapperManager.java:4242)[wrapper-3.5.29.jar:3.5.29]
      1 frame