org.mule.module.launcher.DeploymentInitException: NoSuchBeanDefinitionException: No bean named '.:validations' is defined

MuleSoft JIRA | Mariano Capurro | 1 year ago
  1. 0

    The following configuration is not starting in Mule {code} <?xml version="1.0" encoding="UTF-8"?> <mule xmlns:validation="http://www.mulesoft.org/schema/mule/validation" xmlns:metadata="http://www.mulesoft.org/schema/mule/metadata" xmlns:http="http://www.mulesoft.org/schema/mule/http" xmlns="http://www.mulesoft.org/schema/mule/core" xmlns:doc="http://www.mulesoft.org/schema/mule/documentation" xmlns:spring="http://www.springframework.org/schema/beans" version="EE-3.7.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-current.xsd http://www.mulesoft.org/schema/mule/core http://www.mulesoft.org/schema/mule/core/current/mule.xsd http://www.mulesoft.org/schema/mule/http http://www.mulesoft.org/schema/mule/http/current/mule-http.xsd http://www.mulesoft.org/schema/mule/validation http://www.mulesoft.org/schema/mule/validation/current/mule-validation.xsd"> <validation:config name="Validation_Configuration" doc:name="Validation Configuration"/> <http:listener-config name="HTTP_Listener_Configuration" host="0.0.0.0" port="8081" doc:name="HTTP Listener Configuration"/> <flow name="validationsFlow"> <http:listener config-ref="HTTP_Listener_Configuration" path="/" doc:name="HTTP"/> <validation:all config-ref="Validation_Configuration" doc:name="Validation"> <validation:validations> <validation:all> <validation:validations> <validation:is-empty value="#[payload]"/> </validation:validations> </validation:all> </validation:validations> </validation:all> </flow> </mule> {code} The exception is {code} org.mule.module.launcher.DeploymentInitException: NoSuchBeanDefinitionException: No bean named '.:validations' is defined at org.mule.module.launcher.application.DefaultMuleApplication.init(DefaultMuleApplication.java:197) ~[mule-module-launcher-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT] at org.mule.module.launcher.artifact.ArtifactWrapper$2.execute(ArtifactWrapper.java:62) ~[mule-module-launcher-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT] at org.mule.module.launcher.artifact.ArtifactWrapper.executeWithinArtifactClassLoader(ArtifactWrapper.java:129) ~[mule-module-launcher-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT] at org.mule.module.launcher.artifact.ArtifactWrapper.init(ArtifactWrapper.java:57) ~[mule-module-launcher-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT] at org.mule.module.launcher.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:25) ~[mule-module-launcher-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT] at org.mule.module.launcher.DefaultArchiveDeployer.redeploy(DefaultArchiveDeployer.java:523) ~[mule-module-launcher-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT] at org.mule.module.launcher.DeploymentDirectoryWatcher.redeployModifiedArtifacts(DeploymentDirectoryWatcher.java:549) ~[mule-module-launcher-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT] at org.mule.module.launcher.DeploymentDirectoryWatcher.redeployModifiedApplications(DeploymentDirectoryWatcher.java:538) ~[mule-module-launcher-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT] at org.mule.module.launcher.DeploymentDirectoryWatcher.run(DeploymentDirectoryWatcher.java:348) ~[mule-module-launcher-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) ~[?:1.7.0_71] at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304) ~[?:1.7.0_71] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178) ~[?:1.7.0_71] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) ~[?:1.7.0_71] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [?:1.7.0_71] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [?:1.7.0_71] at java.lang.Thread.run(Thread.java:745) [?:1.7.0_71] Caused by: org.mule.api.config.ConfigurationException: Unexpected exception parsing XML document from URL [file:/Users/mariano/Development/mule-studio/runtime-studio.product/.mule/apps/test/validations.xml]; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named '.:validations' is defined (org.mule.api.lifecycle.InitialisationException) (org.mule.api.config.ConfigurationException) at org.mule.config.builders.AbstractConfigurationBuilder.configure(AbstractConfigurationBuilder.java:49) ~[mule-core-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT] at org.mule.config.builders.AbstractResourceConfigurationBuilder.configure(AbstractResourceConfigurationBuilder.java:69) ~[mule-core-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT] at org.mule.context.DefaultMuleContextFactory$1.configure(DefaultMuleContextFactory.java:89) ~[mule-core-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT] at org.mule.context.DefaultMuleContextFactory.doCreateMuleContext(DefaultMuleContextFactory.java:222) ~[mule-core-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT] at org.mule.context.DefaultMuleContextFactory.createMuleContext(DefaultMuleContextFactory.java:81) ~[mule-core-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT] at org.mule.module.launcher.application.DefaultMuleApplication.init(DefaultMuleApplication.java:188) ~[mule-module-launcher-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT] ... 15 more Caused by: org.mule.api.config.ConfigurationException: Unexpected exception parsing XML document from URL [file:/Users/mariano/Development/mule-studio/runtime-studio.product/.mule/apps/test/validations.xml]; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named '.:validations' is defined (org.mule.api.lifecycle.InitialisationException) at org.mule.config.builders.AbstractConfigurationBuilder.configure(AbstractConfigurationBuilder.java:49) ~[mule-core-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT] at org.mule.config.builders.AbstractResourceConfigurationBuilder.configure(AbstractResourceConfigurationBuilder.java:69) ~[mule-core-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT] at org.mule.config.builders.AutoConfigurationBuilder.autoConfigure(AutoConfigurationBuilder.java:101) ~[mule-core-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT] at org.mule.config.builders.AutoConfigurationBuilder.doConfigure(AutoConfigurationBuilder.java:52) ~[mule-core-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT] at org.mule.config.builders.AbstractConfigurationBuilder.configure(AbstractConfigurationBuilder.java:43) ~[mule-core-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT] at org.mule.config.builders.AbstractResourceConfigurationBuilder.configure(AbstractResourceConfigurationBuilder.java:69) ~[mule-core-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT] at org.mule.context.DefaultMuleContextFactory$1.configure(DefaultMuleContextFactory.java:89) ~[mule-core-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT] at org.mule.context.DefaultMuleContextFactory.doCreateMuleContext(DefaultMuleContextFactory.java:222) ~[mule-core-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT] at org.mule.context.DefaultMuleContextFactory.createMuleContext(DefaultMuleContextFactory.java:81) ~[mule-core-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT] at org.mule.module.launcher.application.DefaultMuleApplication.init(DefaultMuleApplication.java:188) ~[mule-module-launcher-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT] ... 15 more Caused by: org.mule.api.lifecycle.InitialisationException: Unexpected exception parsing XML document from URL [file:/Users/mariano/Development/mule-studio/runtime-studio.product/.mule/apps/test/validations.xml]; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named '.:validations' is defined at org.mule.registry.AbstractRegistry.initialise(AbstractRegistry.java:112) ~[mule-core-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT] at org.mule.config.spring.SpringXmlConfigurationBuilder.createSpringRegistry(SpringXmlConfigurationBuilder.java:172) ~[mule-module-spring-config-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT] at org.mule.config.spring.SpringXmlConfigurationBuilder.doConfigure(SpringXmlConfigurationBuilder.java:95) ~[mule-module-spring-config-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT] at org.mule.config.builders.AbstractConfigurationBuilder.configure(AbstractConfigurationBuilder.java:43) ~[mule-core-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT] at org.mule.config.builders.AbstractResourceConfigurationBuilder.configure(AbstractResourceConfigurationBuilder.java:69) ~[mule-core-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT] at org.mule.config.builders.AutoConfigurationBuilder.autoConfigure(AutoConfigurationBuilder.java:101) ~[mule-core-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT] at org.mule.config.builders.AutoConfigurationBuilder.doConfigure(AutoConfigurationBuilder.java:52) ~[mule-core-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT] at org.mule.config.builders.AbstractConfigurationBuilder.configure(AbstractConfigurationBuilder.java:43) ~[mule-core-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT] at org.mule.config.builders.AbstractResourceConfigurationBuilder.configure(AbstractResourceConfigurationBuilder.java:69) ~[mule-core-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT] at org.mule.context.DefaultMuleContextFactory$1.configure(DefaultMuleContextFactory.java:89) ~[mule-core-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT] at org.mule.context.DefaultMuleContextFactory.doCreateMuleContext(DefaultMuleContextFactory.java:222) ~[mule-core-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT] at org.mule.context.DefaultMuleContextFactory.createMuleContext(DefaultMuleContextFactory.java:81) ~[mule-core-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT] at org.mule.module.launcher.application.DefaultMuleApplication.init(DefaultMuleApplication.java:188) ~[mule-module-launcher-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT] ... 15 more Caused by: org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from URL [file:/Users/mariano/Development/mule-studio/runtime-studio.product/.mule/apps/test/validations.xml]; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named '.:validations' is defined at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:414) ~[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.config.spring.MuleArtifactContext.loadBeanDefinitions(MuleArtifactContext.java:191) ~[mule-module-spring-config-3.7.2-SNAPSHOT.jar:3.7.2-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.config.spring.SpringRegistry.doInitialise(SpringRegistry.java:108) ~[mule-module-spring-config-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT] at org.mule.registry.AbstractRegistry.initialise(AbstractRegistry.java:104) ~[mule-core-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT] at org.mule.config.spring.SpringXmlConfigurationBuilder.createSpringRegistry(SpringXmlConfigurationBuilder.java:172) ~[mule-module-spring-config-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT] at org.mule.config.spring.SpringXmlConfigurationBuilder.doConfigure(SpringXmlConfigurationBuilder.java:95) ~[mule-module-spring-config-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT] at org.mule.config.builders.AbstractConfigurationBuilder.configure(AbstractConfigurationBuilder.java:43) ~[mule-core-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT] at org.mule.config.builders.AbstractResourceConfigurationBuilder.configure(AbstractResourceConfigurationBuilder.java:69) ~[mule-core-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT] at org.mule.config.builders.AutoConfigurationBuilder.autoConfigure(AutoConfigurationBuilder.java:101) ~[mule-core-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT] at org.mule.config.builders.AutoConfigurationBuilder.doConfigure(AutoConfigurationBuilder.java:52) ~[mule-core-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT] at org.mule.config.builders.AbstractConfigurationBuilder.configure(AbstractConfigurationBuilder.java:43) ~[mule-core-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT] at org.mule.config.builders.AbstractResourceConfigurationBuilder.configure(AbstractResourceConfigurationBuilder.java:69) ~[mule-core-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT] at org.mule.context.DefaultMuleContextFactory$1.configure(DefaultMuleContextFactory.java:89) ~[mule-core-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT] at org.mule.context.DefaultMuleContextFactory.doCreateMuleContext(DefaultMuleContextFactory.java:222) ~[mule-core-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT] at org.mule.context.DefaultMuleContextFactory.createMuleContext(DefaultMuleContextFactory.java:81) ~[mule-core-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT] at org.mule.module.launcher.application.DefaultMuleApplication.init(DefaultMuleApplication.java:188) ~[mule-module-launcher-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT] ... 15 more Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named '.:validations' is defined at org.springframework.beans.factory.support.DefaultListableBeanFactory.removeBeanDefinition(DefaultListableBeanFactory.java:846) ~[mule-module-spring-config-3.7.2-SNAPSHOT.jar:4.1.6.RELEASE] at org.mule.module.extension.internal.config.OperationBeanDefinitionParser.parseNestedProcessor(OperationBeanDefinitionParser.java:151) ~[mule-module-extensions-spring-support-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT] at org.mule.module.extension.internal.config.OperationBeanDefinitionParser.access$000(OperationBeanDefinitionParser.java:50) ~[mule-module-extensions-spring-support-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT] at org.mule.module.extension.internal.config.OperationBeanDefinitionParser$1.onList(OperationBeanDefinitionParser.java:103) ~[mule-module-extensions-spring-support-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT] at org.mule.extension.introspection.DataQualifier$10.accept(DataQualifier.java:135) ~[mule-extensions-api-1.0.0-alpha-1.jar:?] at org.mule.module.extension.internal.config.OperationBeanDefinitionParser.parseNestedOperations(OperationBeanDefinitionParser.java:88) ~[mule-module-extensions-spring-support-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT] at org.mule.module.extension.internal.config.OperationBeanDefinitionParser.parse(OperationBeanDefinitionParser.java:71) ~[mule-module-extensions-spring-support-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT] at org.springframework.beans.factory.xml.NamespaceHandlerSupport.parse(NamespaceHandlerSupport.java:74) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE] at org.mule.module.extension.internal.config.ExtensionsNamespaceHandler.parse(ExtensionsNamespaceHandler.java:80) ~[mule-module-extensions-spring-support-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT] at org.mule.config.spring.MuleHierarchicalBeanDefinitionParserDelegate.parseCustomElement(MuleHierarchicalBeanDefinitionParserDelegate.java:98) ~[mule-module-spring-config-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT] at org.mule.config.spring.MuleHierarchicalBeanDefinitionParserDelegate.parseCustomElement(MuleHierarchicalBeanDefinitionParserDelegate.java:140) ~[mule-module-spring-config-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT] at org.mule.config.spring.MuleHierarchicalBeanDefinitionParserDelegate.parseCustomElement(MuleHierarchicalBeanDefinitionParserDelegate.java:140) ~[mule-module-spring-config-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT] at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1417) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE] at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.parseBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:180) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE] at org.mule.config.spring.MuleBeanDefinitionDocumentReader.parseBeanDefinitions(MuleBeanDefinitionDocumentReader.java:56) ~[mule-module-spring-config-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT] at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.doRegisterBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:144) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE] at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.registerBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:100) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE] at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions(XmlBeanDefinitionReader.java:510) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE] at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:392) ~[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.config.spring.MuleArtifactContext.loadBeanDefinitions(MuleArtifactContext.java:191) ~[mule-module-spring-config-3.7.2-SNAPSHOT.jar:3.7.2-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.config.spring.SpringRegistry.doInitialise(SpringRegistry.java:108) ~[mule-module-spring-config-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT] at org.mule.registry.AbstractRegistry.initialise(AbstractRegistry.java:104) ~[mule-core-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT] at org.mule.config.spring.SpringXmlConfigurationBuilder.createSpringRegistry(SpringXmlConfigurationBuilder.java:172) ~[mule-module-spring-config-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT] at org.mule.config.spring.SpringXmlConfigurationBuilder.doConfigure(SpringXmlConfigurationBuilder.java:95) ~[mule-module-spring-config-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT] at org.mule.config.builders.AbstractConfigurationBuilder.configure(AbstractConfigurationBuilder.java:43) ~[mule-core-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT] at org.mule.config.builders.AbstractResourceConfigurationBuilder.configure(AbstractResourceConfigurationBuilder.java:69) ~[mule-core-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT] at org.mule.config.builders.AutoConfigurationBuilder.autoConfigure(AutoConfigurationBuilder.java:101) ~[mule-core-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT] at org.mule.config.builders.AutoConfigurationBuilder.doConfigure(AutoConfigurationBuilder.java:52) ~[mule-core-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT] at org.mule.config.builders.AbstractConfigurationBuilder.configure(AbstractConfigurationBuilder.java:43) ~[mule-core-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT] at org.mule.config.builders.AbstractResourceConfigurationBuilder.configure(AbstractResourceConfigurationBuilder.java:69) ~[mule-core-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT] at org.mule.context.DefaultMuleContextFactory$1.configure(DefaultMuleContextFactory.java:89) ~[mule-core-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT] at org.mule.context.DefaultMuleContextFactory.doCreateMuleContext(DefaultMuleContextFactory.java:222) ~[mule-core-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT] at org.mule.context.DefaultMuleContextFactory.createMuleContext(DefaultMuleContextFactory.java:81) ~[mule-core-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT] at org.mule.module.launcher.application.DefaultMuleApplication.init(DefaultMuleApplication.java:188) ~[mule-module-launcher-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT] ... 15 more {code}

    MuleSoft JIRA | 1 year ago | Mariano Capurro
    org.mule.module.launcher.DeploymentInitException: NoSuchBeanDefinitionException: No bean named '.:validations' is defined
  2. 0

    The following configuration is not starting in Mule {code} <?xml version="1.0" encoding="UTF-8"?> <mule xmlns:validation="http://www.mulesoft.org/schema/mule/validation" xmlns:metadata="http://www.mulesoft.org/schema/mule/metadata" xmlns:http="http://www.mulesoft.org/schema/mule/http" xmlns="http://www.mulesoft.org/schema/mule/core" xmlns:doc="http://www.mulesoft.org/schema/mule/documentation" xmlns:spring="http://www.springframework.org/schema/beans" version="EE-3.7.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-current.xsd http://www.mulesoft.org/schema/mule/core http://www.mulesoft.org/schema/mule/core/current/mule.xsd http://www.mulesoft.org/schema/mule/http http://www.mulesoft.org/schema/mule/http/current/mule-http.xsd http://www.mulesoft.org/schema/mule/validation http://www.mulesoft.org/schema/mule/validation/current/mule-validation.xsd"> <validation:config name="Validation_Configuration" doc:name="Validation Configuration"/> <http:listener-config name="HTTP_Listener_Configuration" host="0.0.0.0" port="8081" doc:name="HTTP Listener Configuration"/> <flow name="validationsFlow"> <http:listener config-ref="HTTP_Listener_Configuration" path="/" doc:name="HTTP"/> <validation:all config-ref="Validation_Configuration" doc:name="Validation"> <validation:validations> <validation:all> <validation:validations> <validation:is-empty value="#[payload]"/> </validation:validations> </validation:all> </validation:validations> </validation:all> </flow> </mule> {code} The exception is {code} org.mule.module.launcher.DeploymentInitException: NoSuchBeanDefinitionException: No bean named '.:validations' is defined at org.mule.module.launcher.application.DefaultMuleApplication.init(DefaultMuleApplication.java:197) ~[mule-module-launcher-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT] at org.mule.module.launcher.artifact.ArtifactWrapper$2.execute(ArtifactWrapper.java:62) ~[mule-module-launcher-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT] at org.mule.module.launcher.artifact.ArtifactWrapper.executeWithinArtifactClassLoader(ArtifactWrapper.java:129) ~[mule-module-launcher-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT] at org.mule.module.launcher.artifact.ArtifactWrapper.init(ArtifactWrapper.java:57) ~[mule-module-launcher-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT] at org.mule.module.launcher.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:25) ~[mule-module-launcher-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT] at org.mule.module.launcher.DefaultArchiveDeployer.redeploy(DefaultArchiveDeployer.java:523) ~[mule-module-launcher-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT] at org.mule.module.launcher.DeploymentDirectoryWatcher.redeployModifiedArtifacts(DeploymentDirectoryWatcher.java:549) ~[mule-module-launcher-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT] at org.mule.module.launcher.DeploymentDirectoryWatcher.redeployModifiedApplications(DeploymentDirectoryWatcher.java:538) ~[mule-module-launcher-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT] at org.mule.module.launcher.DeploymentDirectoryWatcher.run(DeploymentDirectoryWatcher.java:348) ~[mule-module-launcher-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) ~[?:1.7.0_71] at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304) ~[?:1.7.0_71] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178) ~[?:1.7.0_71] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) ~[?:1.7.0_71] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [?:1.7.0_71] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [?:1.7.0_71] at java.lang.Thread.run(Thread.java:745) [?:1.7.0_71] Caused by: org.mule.api.config.ConfigurationException: Unexpected exception parsing XML document from URL [file:/Users/mariano/Development/mule-studio/runtime-studio.product/.mule/apps/test/validations.xml]; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named '.:validations' is defined (org.mule.api.lifecycle.InitialisationException) (org.mule.api.config.ConfigurationException) at org.mule.config.builders.AbstractConfigurationBuilder.configure(AbstractConfigurationBuilder.java:49) ~[mule-core-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT] at org.mule.config.builders.AbstractResourceConfigurationBuilder.configure(AbstractResourceConfigurationBuilder.java:69) ~[mule-core-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT] at org.mule.context.DefaultMuleContextFactory$1.configure(DefaultMuleContextFactory.java:89) ~[mule-core-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT] at org.mule.context.DefaultMuleContextFactory.doCreateMuleContext(DefaultMuleContextFactory.java:222) ~[mule-core-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT] at org.mule.context.DefaultMuleContextFactory.createMuleContext(DefaultMuleContextFactory.java:81) ~[mule-core-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT] at org.mule.module.launcher.application.DefaultMuleApplication.init(DefaultMuleApplication.java:188) ~[mule-module-launcher-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT] ... 15 more Caused by: org.mule.api.config.ConfigurationException: Unexpected exception parsing XML document from URL [file:/Users/mariano/Development/mule-studio/runtime-studio.product/.mule/apps/test/validations.xml]; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named '.:validations' is defined (org.mule.api.lifecycle.InitialisationException) at org.mule.config.builders.AbstractConfigurationBuilder.configure(AbstractConfigurationBuilder.java:49) ~[mule-core-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT] at org.mule.config.builders.AbstractResourceConfigurationBuilder.configure(AbstractResourceConfigurationBuilder.java:69) ~[mule-core-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT] at org.mule.config.builders.AutoConfigurationBuilder.autoConfigure(AutoConfigurationBuilder.java:101) ~[mule-core-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT] at org.mule.config.builders.AutoConfigurationBuilder.doConfigure(AutoConfigurationBuilder.java:52) ~[mule-core-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT] at org.mule.config.builders.AbstractConfigurationBuilder.configure(AbstractConfigurationBuilder.java:43) ~[mule-core-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT] at org.mule.config.builders.AbstractResourceConfigurationBuilder.configure(AbstractResourceConfigurationBuilder.java:69) ~[mule-core-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT] at org.mule.context.DefaultMuleContextFactory$1.configure(DefaultMuleContextFactory.java:89) ~[mule-core-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT] at org.mule.context.DefaultMuleContextFactory.doCreateMuleContext(DefaultMuleContextFactory.java:222) ~[mule-core-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT] at org.mule.context.DefaultMuleContextFactory.createMuleContext(DefaultMuleContextFactory.java:81) ~[mule-core-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT] at org.mule.module.launcher.application.DefaultMuleApplication.init(DefaultMuleApplication.java:188) ~[mule-module-launcher-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT] ... 15 more Caused by: org.mule.api.lifecycle.InitialisationException: Unexpected exception parsing XML document from URL [file:/Users/mariano/Development/mule-studio/runtime-studio.product/.mule/apps/test/validations.xml]; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named '.:validations' is defined at org.mule.registry.AbstractRegistry.initialise(AbstractRegistry.java:112) ~[mule-core-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT] at org.mule.config.spring.SpringXmlConfigurationBuilder.createSpringRegistry(SpringXmlConfigurationBuilder.java:172) ~[mule-module-spring-config-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT] at org.mule.config.spring.SpringXmlConfigurationBuilder.doConfigure(SpringXmlConfigurationBuilder.java:95) ~[mule-module-spring-config-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT] at org.mule.config.builders.AbstractConfigurationBuilder.configure(AbstractConfigurationBuilder.java:43) ~[mule-core-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT] at org.mule.config.builders.AbstractResourceConfigurationBuilder.configure(AbstractResourceConfigurationBuilder.java:69) ~[mule-core-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT] at org.mule.config.builders.AutoConfigurationBuilder.autoConfigure(AutoConfigurationBuilder.java:101) ~[mule-core-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT] at org.mule.config.builders.AutoConfigurationBuilder.doConfigure(AutoConfigurationBuilder.java:52) ~[mule-core-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT] at org.mule.config.builders.AbstractConfigurationBuilder.configure(AbstractConfigurationBuilder.java:43) ~[mule-core-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT] at org.mule.config.builders.AbstractResourceConfigurationBuilder.configure(AbstractResourceConfigurationBuilder.java:69) ~[mule-core-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT] at org.mule.context.DefaultMuleContextFactory$1.configure(DefaultMuleContextFactory.java:89) ~[mule-core-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT] at org.mule.context.DefaultMuleContextFactory.doCreateMuleContext(DefaultMuleContextFactory.java:222) ~[mule-core-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT] at org.mule.context.DefaultMuleContextFactory.createMuleContext(DefaultMuleContextFactory.java:81) ~[mule-core-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT] at org.mule.module.launcher.application.DefaultMuleApplication.init(DefaultMuleApplication.java:188) ~[mule-module-launcher-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT] ... 15 more Caused by: org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from URL [file:/Users/mariano/Development/mule-studio/runtime-studio.product/.mule/apps/test/validations.xml]; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named '.:validations' is defined at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:414) ~[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.config.spring.MuleArtifactContext.loadBeanDefinitions(MuleArtifactContext.java:191) ~[mule-module-spring-config-3.7.2-SNAPSHOT.jar:3.7.2-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.config.spring.SpringRegistry.doInitialise(SpringRegistry.java:108) ~[mule-module-spring-config-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT] at org.mule.registry.AbstractRegistry.initialise(AbstractRegistry.java:104) ~[mule-core-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT] at org.mule.config.spring.SpringXmlConfigurationBuilder.createSpringRegistry(SpringXmlConfigurationBuilder.java:172) ~[mule-module-spring-config-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT] at org.mule.config.spring.SpringXmlConfigurationBuilder.doConfigure(SpringXmlConfigurationBuilder.java:95) ~[mule-module-spring-config-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT] at org.mule.config.builders.AbstractConfigurationBuilder.configure(AbstractConfigurationBuilder.java:43) ~[mule-core-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT] at org.mule.config.builders.AbstractResourceConfigurationBuilder.configure(AbstractResourceConfigurationBuilder.java:69) ~[mule-core-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT] at org.mule.config.builders.AutoConfigurationBuilder.autoConfigure(AutoConfigurationBuilder.java:101) ~[mule-core-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT] at org.mule.config.builders.AutoConfigurationBuilder.doConfigure(AutoConfigurationBuilder.java:52) ~[mule-core-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT] at org.mule.config.builders.AbstractConfigurationBuilder.configure(AbstractConfigurationBuilder.java:43) ~[mule-core-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT] at org.mule.config.builders.AbstractResourceConfigurationBuilder.configure(AbstractResourceConfigurationBuilder.java:69) ~[mule-core-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT] at org.mule.context.DefaultMuleContextFactory$1.configure(DefaultMuleContextFactory.java:89) ~[mule-core-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT] at org.mule.context.DefaultMuleContextFactory.doCreateMuleContext(DefaultMuleContextFactory.java:222) ~[mule-core-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT] at org.mule.context.DefaultMuleContextFactory.createMuleContext(DefaultMuleContextFactory.java:81) ~[mule-core-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT] at org.mule.module.launcher.application.DefaultMuleApplication.init(DefaultMuleApplication.java:188) ~[mule-module-launcher-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT] ... 15 more Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named '.:validations' is defined at org.springframework.beans.factory.support.DefaultListableBeanFactory.removeBeanDefinition(DefaultListableBeanFactory.java:846) ~[mule-module-spring-config-3.7.2-SNAPSHOT.jar:4.1.6.RELEASE] at org.mule.module.extension.internal.config.OperationBeanDefinitionParser.parseNestedProcessor(OperationBeanDefinitionParser.java:151) ~[mule-module-extensions-spring-support-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT] at org.mule.module.extension.internal.config.OperationBeanDefinitionParser.access$000(OperationBeanDefinitionParser.java:50) ~[mule-module-extensions-spring-support-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT] at org.mule.module.extension.internal.config.OperationBeanDefinitionParser$1.onList(OperationBeanDefinitionParser.java:103) ~[mule-module-extensions-spring-support-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT] at org.mule.extension.introspection.DataQualifier$10.accept(DataQualifier.java:135) ~[mule-extensions-api-1.0.0-alpha-1.jar:?] at org.mule.module.extension.internal.config.OperationBeanDefinitionParser.parseNestedOperations(OperationBeanDefinitionParser.java:88) ~[mule-module-extensions-spring-support-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT] at org.mule.module.extension.internal.config.OperationBeanDefinitionParser.parse(OperationBeanDefinitionParser.java:71) ~[mule-module-extensions-spring-support-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT] at org.springframework.beans.factory.xml.NamespaceHandlerSupport.parse(NamespaceHandlerSupport.java:74) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE] at org.mule.module.extension.internal.config.ExtensionsNamespaceHandler.parse(ExtensionsNamespaceHandler.java:80) ~[mule-module-extensions-spring-support-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT] at org.mule.config.spring.MuleHierarchicalBeanDefinitionParserDelegate.parseCustomElement(MuleHierarchicalBeanDefinitionParserDelegate.java:98) ~[mule-module-spring-config-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT] at org.mule.config.spring.MuleHierarchicalBeanDefinitionParserDelegate.parseCustomElement(MuleHierarchicalBeanDefinitionParserDelegate.java:140) ~[mule-module-spring-config-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT] at org.mule.config.spring.MuleHierarchicalBeanDefinitionParserDelegate.parseCustomElement(MuleHierarchicalBeanDefinitionParserDelegate.java:140) ~[mule-module-spring-config-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT] at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1417) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE] at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.parseBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:180) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE] at org.mule.config.spring.MuleBeanDefinitionDocumentReader.parseBeanDefinitions(MuleBeanDefinitionDocumentReader.java:56) ~[mule-module-spring-config-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT] at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.doRegisterBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:144) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE] at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.registerBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:100) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE] at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions(XmlBeanDefinitionReader.java:510) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE] at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:392) ~[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.config.spring.MuleArtifactContext.loadBeanDefinitions(MuleArtifactContext.java:191) ~[mule-module-spring-config-3.7.2-SNAPSHOT.jar:3.7.2-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.config.spring.SpringRegistry.doInitialise(SpringRegistry.java:108) ~[mule-module-spring-config-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT] at org.mule.registry.AbstractRegistry.initialise(AbstractRegistry.java:104) ~[mule-core-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT] at org.mule.config.spring.SpringXmlConfigurationBuilder.createSpringRegistry(SpringXmlConfigurationBuilder.java:172) ~[mule-module-spring-config-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT] at org.mule.config.spring.SpringXmlConfigurationBuilder.doConfigure(SpringXmlConfigurationBuilder.java:95) ~[mule-module-spring-config-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT] at org.mule.config.builders.AbstractConfigurationBuilder.configure(AbstractConfigurationBuilder.java:43) ~[mule-core-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT] at org.mule.config.builders.AbstractResourceConfigurationBuilder.configure(AbstractResourceConfigurationBuilder.java:69) ~[mule-core-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT] at org.mule.config.builders.AutoConfigurationBuilder.autoConfigure(AutoConfigurationBuilder.java:101) ~[mule-core-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT] at org.mule.config.builders.AutoConfigurationBuilder.doConfigure(AutoConfigurationBuilder.java:52) ~[mule-core-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT] at org.mule.config.builders.AbstractConfigurationBuilder.configure(AbstractConfigurationBuilder.java:43) ~[mule-core-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT] at org.mule.config.builders.AbstractResourceConfigurationBuilder.configure(AbstractResourceConfigurationBuilder.java:69) ~[mule-core-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT] at org.mule.context.DefaultMuleContextFactory$1.configure(DefaultMuleContextFactory.java:89) ~[mule-core-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT] at org.mule.context.DefaultMuleContextFactory.doCreateMuleContext(DefaultMuleContextFactory.java:222) ~[mule-core-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT] at org.mule.context.DefaultMuleContextFactory.createMuleContext(DefaultMuleContextFactory.java:81) ~[mule-core-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT] at org.mule.module.launcher.application.DefaultMuleApplication.init(DefaultMuleApplication.java:188) ~[mule-module-launcher-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT] ... 15 more {code}

    MuleSoft JIRA | 1 year ago | Mariano Capurro
    org.mule.module.launcher.DeploymentInitException: NoSuchBeanDefinitionException: No bean named '.:validations' is defined
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    grails 3.1.7 hibernate4 spring-security

    Stack Overflow | 6 months ago | Marco Di Scala
    org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named '' is defined

    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.springframework.beans.factory.NoSuchBeanDefinitionException

      No bean named '.:validations' is defined

      at org.springframework.beans.factory.support.DefaultListableBeanFactory.removeBeanDefinition()
    2. Spring Beans
      DefaultListableBeanFactory.removeBeanDefinition
      1. org.springframework.beans.factory.support.DefaultListableBeanFactory.removeBeanDefinition(DefaultListableBeanFactory.java:846)[mule-module-spring-config-3.7.2-SNAPSHOT.jar:4.1.6.RELEASE]
      1 frame
    3. org.mule.module
      OperationBeanDefinitionParser$1.onList
      1. org.mule.module.extension.internal.config.OperationBeanDefinitionParser.parseNestedProcessor(OperationBeanDefinitionParser.java:151)[mule-module-extensions-spring-support-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT]
      2. org.mule.module.extension.internal.config.OperationBeanDefinitionParser.access$000(OperationBeanDefinitionParser.java:50)[mule-module-extensions-spring-support-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT]
      3. org.mule.module.extension.internal.config.OperationBeanDefinitionParser$1.onList(OperationBeanDefinitionParser.java:103)[mule-module-extensions-spring-support-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT]
      3 frames
    4. org.mule.extension
      DataQualifier$10.accept
      1. org.mule.extension.introspection.DataQualifier$10.accept(DataQualifier.java:135)[mule-extensions-api-1.0.0-alpha-1.jar:?]
      1 frame
    5. org.mule.module
      OperationBeanDefinitionParser.parse
      1. org.mule.module.extension.internal.config.OperationBeanDefinitionParser.parseNestedOperations(OperationBeanDefinitionParser.java:88)[mule-module-extensions-spring-support-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT]
      2. org.mule.module.extension.internal.config.OperationBeanDefinitionParser.parse(OperationBeanDefinitionParser.java:71)[mule-module-extensions-spring-support-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT]
      2 frames
    6. Spring Beans
      NamespaceHandlerSupport.parse
      1. org.springframework.beans.factory.xml.NamespaceHandlerSupport.parse(NamespaceHandlerSupport.java:74)[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
      1 frame
    7. org.mule.module
      ExtensionsNamespaceHandler.parse
      1. org.mule.module.extension.internal.config.ExtensionsNamespaceHandler.parse(ExtensionsNamespaceHandler.java:80)[mule-module-extensions-spring-support-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT]
      1 frame
    8. Spring Config
      MuleHierarchicalBeanDefinitionParserDelegate.parseCustomElement
      1. org.mule.config.spring.MuleHierarchicalBeanDefinitionParserDelegate.parseCustomElement(MuleHierarchicalBeanDefinitionParserDelegate.java:98)[mule-module-spring-config-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT]
      2. org.mule.config.spring.MuleHierarchicalBeanDefinitionParserDelegate.parseCustomElement(MuleHierarchicalBeanDefinitionParserDelegate.java:140)[mule-module-spring-config-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT]
      3. org.mule.config.spring.MuleHierarchicalBeanDefinitionParserDelegate.parseCustomElement(MuleHierarchicalBeanDefinitionParserDelegate.java:140)[mule-module-spring-config-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT]
      3 frames
    9. Spring Beans
      DefaultBeanDefinitionDocumentReader.parseBeanDefinitions
      1. org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1417)[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
      2. org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.parseBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:180)[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
      2 frames
    10. Spring Config
      MuleBeanDefinitionDocumentReader.parseBeanDefinitions
      1. org.mule.config.spring.MuleBeanDefinitionDocumentReader.parseBeanDefinitions(MuleBeanDefinitionDocumentReader.java:56)[mule-module-spring-config-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT]
      1 frame
    11. Spring Beans
      AbstractBeanDefinitionReader.loadBeanDefinitions
      1. org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.doRegisterBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:144)[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
      2. org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.registerBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:100)[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
      3. org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions(XmlBeanDefinitionReader.java:510)[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
      4. org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:392)[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
      5. org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:336)[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
      6. org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:304)[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
      7. org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:181)[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
      7 frames
    12. Spring Config
      MuleArtifactContext.loadBeanDefinitions
      1. org.mule.config.spring.MuleArtifactContext.loadBeanDefinitions(MuleArtifactContext.java:191)[mule-module-spring-config-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT]
      1 frame
    13. 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
    14. Spring Config
      SpringRegistry.doInitialise
      1. org.mule.config.spring.SpringRegistry.doInitialise(SpringRegistry.java:108)[mule-module-spring-config-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT]
      1 frame
    15. Mule Core
      AbstractRegistry.initialise
      1. org.mule.registry.AbstractRegistry.initialise(AbstractRegistry.java:104)[mule-core-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT]
      1 frame
    16. Spring Config
      SpringXmlConfigurationBuilder.doConfigure
      1. org.mule.config.spring.SpringXmlConfigurationBuilder.createSpringRegistry(SpringXmlConfigurationBuilder.java:172)[mule-module-spring-config-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT]
      2. org.mule.config.spring.SpringXmlConfigurationBuilder.doConfigure(SpringXmlConfigurationBuilder.java:95)[mule-module-spring-config-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT]
      2 frames
    17. Mule Core
      DefaultMuleContextFactory.createMuleContext
      1. org.mule.config.builders.AbstractConfigurationBuilder.configure(AbstractConfigurationBuilder.java:43)[mule-core-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT]
      2. org.mule.config.builders.AbstractResourceConfigurationBuilder.configure(AbstractResourceConfigurationBuilder.java:69)[mule-core-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT]
      3. org.mule.config.builders.AutoConfigurationBuilder.autoConfigure(AutoConfigurationBuilder.java:101)[mule-core-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT]
      4. org.mule.config.builders.AutoConfigurationBuilder.doConfigure(AutoConfigurationBuilder.java:52)[mule-core-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT]
      5. org.mule.config.builders.AbstractConfigurationBuilder.configure(AbstractConfigurationBuilder.java:43)[mule-core-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT]
      6. org.mule.config.builders.AbstractResourceConfigurationBuilder.configure(AbstractResourceConfigurationBuilder.java:69)[mule-core-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT]
      7. org.mule.context.DefaultMuleContextFactory$1.configure(DefaultMuleContextFactory.java:89)[mule-core-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT]
      8. org.mule.context.DefaultMuleContextFactory.doCreateMuleContext(DefaultMuleContextFactory.java:222)[mule-core-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT]
      9. org.mule.context.DefaultMuleContextFactory.createMuleContext(DefaultMuleContextFactory.java:81)[mule-core-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT]
      9 frames
    18. Mule 3 Launcher
      DeploymentDirectoryWatcher.run
      1. org.mule.module.launcher.application.DefaultMuleApplication.init(DefaultMuleApplication.java:188)[mule-module-launcher-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT]
      2. org.mule.module.launcher.artifact.ArtifactWrapper$2.execute(ArtifactWrapper.java:62)[mule-module-launcher-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT]
      3. org.mule.module.launcher.artifact.ArtifactWrapper.executeWithinArtifactClassLoader(ArtifactWrapper.java:129)[mule-module-launcher-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT]
      4. org.mule.module.launcher.artifact.ArtifactWrapper.init(ArtifactWrapper.java:57)[mule-module-launcher-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT]
      5. org.mule.module.launcher.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:25)[mule-module-launcher-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT]
      6. org.mule.module.launcher.DefaultArchiveDeployer.redeploy(DefaultArchiveDeployer.java:523)[mule-module-launcher-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT]
      7. org.mule.module.launcher.DeploymentDirectoryWatcher.redeployModifiedArtifacts(DeploymentDirectoryWatcher.java:549)[mule-module-launcher-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT]
      8. org.mule.module.launcher.DeploymentDirectoryWatcher.redeployModifiedApplications(DeploymentDirectoryWatcher.java:538)[mule-module-launcher-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT]
      9. org.mule.module.launcher.DeploymentDirectoryWatcher.run(DeploymentDirectoryWatcher.java:348)[mule-module-launcher-3.7.2-SNAPSHOT.jar:3.7.2-SNAPSHOT]
      9 frames
    19. Java RT
      Thread.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)[?:1.7.0_71]
      2. java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304)[?:1.7.0_71]
      3. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178)[?:1.7.0_71]
      4. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)[?:1.7.0_71]
      5. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)[?:1.7.0_71]
      6. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)[?:1.7.0_71]
      7. java.lang.Thread.run(Thread.java:745)[?:1.7.0_71]
      7 frames