org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from file [D:/ProjectItrack4.0/iTrack/src/main/webapp/WEB-INF/spring/webmvc-config.xml]; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'org.springframework.web.servlet.handler.SimpleUrlHandlerMapping#iTrack#src/main/webapp/WEB-INF/spring/webmvc-config.xml#20' is defined

Spring JIRA | Palam Garg | 7 years ago
  1. 0

    What steps will reproduce the problem? 1. create a roo project 2.open roo shel 3. create a entity and its field 4.Controller -all 5.after complete of the this command files genrated by roo. in the src/main/webapp/WEB-INF/spring/Webmvc-config.xml this error will be there. I have addedd all the required lib. but still it is showing me this error -- Error Details -- Date: Mon Mar 22 09:23:26 IST 2010 Message: Internal Error Severity: Error Product: SpringSource Tool Suite 2.3.0.200912171331-RELEASE (com.springsource.sts.ide) Plugin: org.springframework.ide.eclipse.beans.core Session Data: eclipse.buildId=2.3.0.200912171331-RELEASE java.version=1.6.0_17 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_IN Framework arguments: -product com.springsource.sts.ide Command-line arguments: -os win32 -ws win32 -arch x86 -product com.springsource.sts.ide Exception Stack Trace: org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from file [D:/ProjectItrack4.0/iTrack/src/main/webapp/WEB-INF/spring/webmvc-config.xml]; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'org.springframework.web.servlet.handler.SimpleUrlHandlerMapping#iTrack#src/main/webapp/WEB-INF/spring/webmvc-config.xml#20' is defined at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:412) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:334) at org.springframework.ide.eclipse.beans.core.internal.model.BeansConfig$2.loadBeanDefinitions(BeansConfig.java:338) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:302) at org.springframework.ide.eclipse.beans.core.internal.model.BeansConfig$3.call(BeansConfig.java:380) at org.springframework.ide.eclipse.beans.core.internal.model.BeansConfig$3.call(BeansConfig.java:1) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'org.springframework.web.servlet.handler.SimpleUrlHandlerMapping#iTrack#src/main/webapp/WEB-INF/spring/webmvc-config.xml#20' is defined at org.springframework.beans.factory.support.SimpleBeanDefinitionRegistry.getBeanDefinition(SimpleBeanDefinitionRegistry.java:60) at org.springframework.web.servlet.config.ViewControllerBeanDefinitionParser.parse(ViewControllerBeanDefinitionParser.java:63) at org.springframework.beans.factory.xml.NamespaceHandlerSupport.parse(NamespaceHandlerSupport.java:73) at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1335) at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1325) at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.parseBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:136) at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.registerBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:93) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions(XmlBeanDefinitionReader.java:493) at org.springframework.ide.eclipse.beans.core.internal.model.BeansConfig$2.registerBeanDefinitions(BeansConfig.java:351) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:390) ... 13 more

    Spring JIRA | 7 years ago | Palam Garg
    org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from file [D:/ProjectItrack4.0/iTrack/src/main/webapp/WEB-INF/spring/webmvc-config.xml]; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'org.springframework.web.servlet.handler.SimpleUrlHandlerMapping#iTrack#src/main/webapp/WEB-INF/spring/webmvc-config.xml#20' is defined
  2. 0

    What steps will reproduce the problem? 1. create a roo project 2.open roo shel 3. create a entity and its field 4.Controller -all 5.after complete of the this command files genrated by roo. in the src/main/webapp/WEB-INF/spring/Webmvc-config.xml this error will be there. I have addedd all the required lib. but still it is showing me this error -- Error Details -- Date: Mon Mar 22 09:23:26 IST 2010 Message: Internal Error Severity: Error Product: SpringSource Tool Suite 2.3.0.200912171331-RELEASE (com.springsource.sts.ide) Plugin: org.springframework.ide.eclipse.beans.core Session Data: eclipse.buildId=2.3.0.200912171331-RELEASE java.version=1.6.0_17 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_IN Framework arguments: -product com.springsource.sts.ide Command-line arguments: -os win32 -ws win32 -arch x86 -product com.springsource.sts.ide Exception Stack Trace: org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from file [D:/ProjectItrack4.0/iTrack/src/main/webapp/WEB-INF/spring/webmvc-config.xml]; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'org.springframework.web.servlet.handler.SimpleUrlHandlerMapping#iTrack#src/main/webapp/WEB-INF/spring/webmvc-config.xml#20' is defined at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:412) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:334) at org.springframework.ide.eclipse.beans.core.internal.model.BeansConfig$2.loadBeanDefinitions(BeansConfig.java:338) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:302) at org.springframework.ide.eclipse.beans.core.internal.model.BeansConfig$3.call(BeansConfig.java:380) at org.springframework.ide.eclipse.beans.core.internal.model.BeansConfig$3.call(BeansConfig.java:1) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'org.springframework.web.servlet.handler.SimpleUrlHandlerMapping#iTrack#src/main/webapp/WEB-INF/spring/webmvc-config.xml#20' is defined at org.springframework.beans.factory.support.SimpleBeanDefinitionRegistry.getBeanDefinition(SimpleBeanDefinitionRegistry.java:60) at org.springframework.web.servlet.config.ViewControllerBeanDefinitionParser.parse(ViewControllerBeanDefinitionParser.java:63) at org.springframework.beans.factory.xml.NamespaceHandlerSupport.parse(NamespaceHandlerSupport.java:73) at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1335) at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1325) at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.parseBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:136) at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.registerBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:93) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions(XmlBeanDefinitionReader.java:493) at org.springframework.ide.eclipse.beans.core.internal.model.BeansConfig$2.registerBeanDefinitions(BeansConfig.java:351) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:390) ... 13 more

    Spring JIRA | 7 years ago | Palam Garg
    org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from file [D:/ProjectItrack4.0/iTrack/src/main/webapp/WEB-INF/spring/webmvc-config.xml]; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'org.springframework.web.servlet.handler.SimpleUrlHandlerMapping#iTrack#src/main/webapp/WEB-INF/spring/webmvc-config.xml#20' is defined
  3. 0

    [ROO-723] org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named - Spring JIRA

    spring.io | 12 months ago
    org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'org.springframework.web.servlet.handler.SimpleUrlHandlerMapping#iTrack#src/main/webapp/WEB-INF/spring/webmvc-config.xml#20' is defined
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    When I deploy the attached application there are several errors shown in the log, for example: {noformat} DEBUG 2016-05-25 14:12:08,039 [main] org.mule.config.spring.SpringRegistry: No bean named 'zzz_last_jetty-webapp-agent' is defined org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'zzz_last_jetty-webapp-agent' is defined at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanDefinition(DefaultListableBeanFactory.java:683) ~[mule-module-spring-config-3.8.0.jar:4.1.6.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.getMergedLocalBeanDefinition(AbstractBeanFactory.java:1168) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:281) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE] at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:956) ~[spring-context-4.1.6.RELEASE.jar:4.1.6.RELEASE] at org.mule.config.spring.SpringRegistry.lookupObject(SpringRegistry.java:196) ~[mule-module-spring-config-3.8.0.jar:3.8.0] at org.mule.config.spring.SpringRegistry.lookupObject(SpringRegistry.java:161) ~[mule-module-spring-config-3.8.0.jar:3.8.0] at org.mule.registry.AbstractRegistryBroker.unregisterObject(AbstractRegistryBroker.java:285) ~[mule-core-3.8.0.jar:3.8.0] at org.mule.registry.AbstractRegistryBroker.unregisterObject(AbstractRegistryBroker.java:300) ~[mule-core-3.8.0.jar:3.8.0] at org.mule.registry.MuleRegistryHelper.unregisterAgent(MuleRegistryHelper.java:628) ~[mule-core-3.8.0.jar:3.8.0] at org.mule.AbstractAgent.unregisterMeQuietly(AbstractAgent.java:58) ~[mule-core-3.8.0.jar:3.8.0] at org.mule.transport.servlet.jetty.JettyWebappServerAgent.start(JettyWebappServerAgent.java:58) ~[mule-transport-jetty-3.8.0.jar:3.8.0] 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.lifecycle.phases.DefaultLifecyclePhase.applyLifecycle(DefaultLifecyclePhase.java:237) ~[mule-core-3.8.0.jar:3.8.0] at org.mule.lifecycle.RegistryLifecycleManager.applyPhase(RegistryLifecycleManager.java:198) ~[mule-core-3.8.0.jar:3.8.0] at org.mule.registry.AbstractRegistry.unregisterObject(AbstractRegistry.java:163) ~[mule-core-3.8.0.jar:3.8.0] at org.mule.registry.AbstractRegistryBroker.unregisterObject(AbstractRegistryBroker.java:287) ~[mule-core-3.8.0.jar:3.8.0] at org.mule.registry.AbstractRegistryBroker.unregisterObject(AbstractRegistryBroker.java:300) ~[mule-core-3.8.0.jar:3.8.0] at org.mule.registry.MuleRegistryHelper.unregisterAgent(MuleRegistryHelper.java:628) ~[mule-core-3.8.0.jar:3.8.0] at org.mule.AbstractAgent.unregisterMeQuietly(AbstractAgent.java:58) ~[mule-core-3.8.0.jar:3.8.0] at org.mule.transport.servlet.jetty.JettyWebappServerAgent.start(JettyWebappServerAgent.java:58) ~[mule-transport-jetty-3.8.0.jar:3.8.0] 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.lifecycle.phases.DefaultLifecyclePhase.applyLifecycle(DefaultLifecyclePhase.java:237) ~[mule-core-3.8.0.jar:3.8.0] at org.mule.lifecycle.RegistryLifecycleCallback.doApplyLifecycle(RegistryLifecycleCallback.java:99) ~[mule-core-3.8.0.jar:3.8.0] at org.mule.lifecycle.RegistryLifecycleCallback.onTransition(RegistryLifecycleCallback.java:71) ~[mule-core-3.8.0.jar:3.8.0] at org.mule.lifecycle.RegistryLifecycleManager.invokePhase(RegistryLifecycleManager.java:155) ~[mule-core-3.8.0.jar:3.8.0] at org.mule.lifecycle.RegistryLifecycleManager.fireLifecycle(RegistryLifecycleManager.java:126) ~[mule-core-3.8.0.jar:3.8.0] at org.mule.registry.AbstractRegistryBroker.fireLifecycle(AbstractRegistryBroker.java:88) ~[mule-core-3.8.0.jar:3.8.0] at org.mule.registry.MuleRegistryHelper.fireLifecycle(MuleRegistryHelper.java:141) ~[mule-core-3.8.0.jar:3.8.0] at org.mule.lifecycle.MuleContextLifecycleManager$MuleContextLifecycleCallback.onTransition(MuleContextLifecycleManager.java:91) ~[mule-core-3.8.0.jar:3.8.0] at org.mule.lifecycle.MuleContextLifecycleManager$MuleContextLifecycleCallback.onTransition(MuleContextLifecycleManager.java:87) ~[mule-core-3.8.0.jar:3.8.0] at org.mule.lifecycle.MuleContextLifecycleManager.invokePhase(MuleContextLifecycleManager.java:69) ~[mule-core-3.8.0.jar:3.8.0] at org.mule.lifecycle.MuleContextLifecycleManager.fireLifecycle(MuleContextLifecycleManager.java:61) ~[mule-core-3.8.0.jar:3.8.0] at org.mule.DefaultMuleContext.start(DefaultMuleContext.java:311) ~[mule-core-3.8.0.jar:3.8.0] at org.mule.module.launcher.application.DefaultMuleApplication.start(DefaultMuleApplication.java:134) ~[mule-module-launcher-3.8.0.jar:3.8.0] at org.mule.module.launcher.artifact.ArtifactWrapper$4.execute(ArtifactWrapper.java:105) ~[mule-module-launcher-3.8.0.jar:3.8.0] at org.mule.module.launcher.artifact.ArtifactWrapper.executeWithinArtifactClassLoader(ArtifactWrapper.java:136) ~[mule-module-launcher-3.8.0.jar:3.8.0] at org.mule.module.launcher.artifact.ArtifactWrapper.start(ArtifactWrapper.java:100) ~[mule-module-launcher-3.8.0.jar:3.8.0] at org.mule.module.launcher.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:26) ~[mule-module-launcher-3.8.0.jar:3.8.0] at org.mule.module.launcher.DefaultArchiveDeployer.guardedDeploy(DefaultArchiveDeployer.java:324) ~[mule-module-launcher-3.8.0.jar:3.8.0] at org.mule.module.launcher.DefaultArchiveDeployer.deployArtifact(DefaultArchiveDeployer.java:345) ~[mule-module-launcher-3.8.0.jar:3.8.0] at org.mule.module.launcher.DefaultArchiveDeployer.deployPackagedArtifact(DefaultArchiveDeployer.java:163) ~[mule-module-launcher-3.8.0.jar:3.8.0] at org.mule.module.launcher.DefaultArchiveDeployer.deployPackagedArtifact(DefaultArchiveDeployer.java:268) ~[mule-module-launcher-3.8.0.jar:3.8.0] at org.mule.module.launcher.DefaultArchiveDeployer.deployPackagedArtifact(DefaultArchiveDeployer.java:83) ~[mule-module-launcher-3.8.0.jar:3.8.0] at org.mule.module.launcher.DeploymentDirectoryWatcher.deployPackedApps(DeploymentDirectoryWatcher.java:275) ~[mule-module-launcher-3.8.0.jar:3.8.0] at org.mule.module.launcher.DeploymentDirectoryWatcher.start(DeploymentDirectoryWatcher.java:150) ~[mule-module-launcher-3.8.0.jar:3.8.0] at org.mule.module.launcher.MuleDeploymentService.start(MuleDeploymentService.java:104) ~[mule-module-launcher-3.8.0.jar:3.8.0] at org.mule.module.launcher.MuleContainer.start(MuleContainer.java:170) ~[mule-module-launcher-3.8.0.jar:3.8.0] at org.mule.tooling.server.application.ApplicationDeployer.main(ApplicationDeployer.java:15) ~[tooling-support-3.8.0.jar:?] DEBUG 2016-05-25 14:12:08,040 [main] org.mule.lifecycle.RegistryLifecycleCallback: lifecycle phase: start for object: org.mule.module.management.agent.JmxApplicationAgent@1182d1df DEBUG 2016-05-25 14:12:08,040 [Log4j2-AsyncLoggerConfig-3] org.mule.module.launcher.application.CompositeApplicationClassLoader: Class 'org.mule.tooling.server.application.ApplicationDeployer' loaded from classLoader 'org.mule.module.launcher.MuleApplicationClassLoader[security-best-practices]@19868320 {noformat} {noformat} INFO 2016-05-25 14:12:08,044 [main] org.mule.processor.SedaStageLifecycleManager: Starting service: security-best-practicesFlow.stage1 DEBUG 2016-05-25 14:12:08,046 [main] org.mule.config.spring.SpringRegistry: No bean named '[security-best-practices].security-best-practicesFlow.stage1' is defined org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named '[security-best-practices].security-best-practicesFlow.stage1' is defined at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanDefinition(DefaultListableBeanFactory.java:683) ~[mule-module-spring-config-3.8.0.jar:4.1.6.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.getMergedLocalBeanDefinition(AbstractBeanFactory.java:1168) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:281) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE] at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:956) ~[spring-context-4.1.6.RELEASE.jar:4.1.6.RELEASE] at org.mule.config.spring.SpringRegistry.lookupObject(SpringRegistry.java:196) ~[mule-module-spring-config-3.8.0.jar:3.8.0] at org.mule.config.spring.SpringRegistry.lookupObject(SpringRegistry.java:161) ~[mule-module-spring-config-3.8.0.jar:3.8.0] at org.mule.registry.AbstractRegistryBroker.lookupObject(AbstractRegistryBroker.java:134) ~[mule-core-3.8.0.jar:3.8.0] at org.mule.registry.MuleRegistryHelper.lookupFlowConstruct(MuleRegistryHelper.java:442) ~[mule-core-3.8.0.jar:3.8.0] at com.mulesoft.mule.config.pool.MonitoredThreadPoolFactory.createPool(MonitoredThreadPoolFactory.java:58) ~[mule-core-ee-3.8.0.jar:3.8.0] at org.mule.config.ImmutableThreadingProfile.createPool(ImmutableThreadingProfile.java:175) ~[mule-core-3.8.0.jar:3.8.0] at org.mule.work.MuleWorkManager.start(MuleWorkManager.java:95) ~[mule-core-3.8.0.jar:3.8.0] at org.mule.processor.AsyncInterceptingMessageProcessor.start(AsyncInterceptingMessageProcessor.java:77) ~[mule-core-3.8.0.jar:3.8.0] at org.mule.processor.SedaStageInterceptingMessageProcessor.access$001(SedaStageInterceptingMessageProcessor.java:49) ~[mule-core-3.8.0.jar:3.8.0] at org.mule.processor.SedaStageInterceptingMessageProcessor$3.onTransition(SedaStageInterceptingMessageProcessor.java:390) ~[mule-core-3.8.0.jar:3.8.0] at org.mule.processor.SedaStageInterceptingMessageProcessor$3.onTransition(SedaStageInterceptingMessageProcessor.java:382) ~[mule-core-3.8.0.jar:3.8.0] at org.mule.lifecycle.AbstractLifecycleManager.invokePhase(AbstractLifecycleManager.java:138) ~[mule-core-3.8.0.jar:3.8.0] at org.mule.processor.SedaStageLifecycleManager.fireStartPhase(SedaStageLifecycleManager.java:89) ~[mule-core-3.8.0.jar:3.8.0] at org.mule.processor.SedaStageInterceptingMessageProcessor.start(SedaStageInterceptingMessageProcessor.java:381) ~[mule-core-3.8.0.jar:3.8.0] at org.mule.processor.chain.AbstractMessageProcessorChain.start(AbstractMessageProcessorChain.java:102) ~[mule-core-3.8.0.jar:3.8.0] at org.mule.construct.AbstractFlowConstruct.startIfStartable(AbstractFlowConstruct.java:325) ~[mule-core-3.8.0.jar:3.8.0] at org.mule.construct.AbstractPipeline.doStart(AbstractPipeline.java:354) ~[mule-core-3.8.0.jar:3.8.0] at org.mule.construct.Flow.doStart(Flow.java:93) ~[mule-core-3.8.0.jar:3.8.0] at org.mule.construct.AbstractFlowConstruct$2.onTransition(AbstractFlowConstruct.java:136) ~[mule-core-3.8.0.jar:3.8.0] at org.mule.construct.AbstractFlowConstruct$2.onTransition(AbstractFlowConstruct.java:132) ~[mule-core-3.8.0.jar:3.8.0] at org.mule.lifecycle.AbstractLifecycleManager.invokePhase(AbstractLifecycleManager.java:138) ~[mule-core-3.8.0.jar:3.8.0] at org.mule.construct.FlowConstructLifecycleManager.fireStartPhase(FlowConstructLifecycleManager.java:92) ~[mule-core-3.8.0.jar:3.8.0] at org.mule.construct.AbstractFlowConstruct.start(AbstractFlowConstruct.java:131) ~[mule-core-3.8.0.jar:3.8.0] 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.lifecycle.phases.DefaultLifecyclePhase.applyLifecycle(DefaultLifecyclePhase.java:237) ~[mule-core-3.8.0.jar:3.8.0] at org.mule.lifecycle.RegistryLifecycleCallback.doApplyLifecycle(RegistryLifecycleCallback.java:99) ~[mule-core-3.8.0.jar:3.8.0] at org.mule.lifecycle.RegistryLifecycleCallback.onTransition(RegistryLifecycleCallback.java:71) ~[mule-core-3.8.0.jar:3.8.0] at org.mule.lifecycle.RegistryLifecycleManager.invokePhase(RegistryLifecycleManager.java:155) ~[mule-core-3.8.0.jar:3.8.0] at org.mule.lifecycle.RegistryLifecycleManager.fireLifecycle(RegistryLifecycleManager.java:126) ~[mule-core-3.8.0.jar:3.8.0] at org.mule.registry.AbstractRegistryBroker.fireLifecycle(AbstractRegistryBroker.java:88) ~[mule-core-3.8.0.jar:3.8.0] at org.mule.registry.MuleRegistryHelper.fireLifecycle(MuleRegistryHelper.java:141) ~[mule-core-3.8.0.jar:3.8.0] at org.mule.lifecycle.MuleContextLifecycleManager$MuleContextLifecycleCallback.onTransition(MuleContextLifecycleManager.java:91) ~[mule-core-3.8.0.jar:3.8.0] at org.mule.lifecycle.MuleContextLifecycleManager$MuleContextLifecycleCallback.onTransition(MuleContextLifecycleManager.java:87) ~[mule-core-3.8.0.jar:3.8.0] at org.mule.lifecycle.MuleContextLifecycleManager.invokePhase(MuleContextLifecycleManager.java:69) ~[mule-core-3.8.0.jar:3.8.0] at org.mule.lifecycle.MuleContextLifecycleManager.fireLifecycle(MuleContextLifecycleManager.java:61) ~[mule-core-3.8.0.jar:3.8.0] at org.mule.DefaultMuleContext.start(DefaultMuleContext.java:311) ~[mule-core-3.8.0.jar:3.8.0] at org.mule.module.launcher.application.DefaultMuleApplication.start(DefaultMuleApplication.java:134) ~[mule-module-launcher-3.8.0.jar:3.8.0] at org.mule.module.launcher.artifact.ArtifactWrapper$4.execute(ArtifactWrapper.java:105) ~[mule-module-launcher-3.8.0.jar:3.8.0] at org.mule.module.launcher.artifact.ArtifactWrapper.executeWithinArtifactClassLoader(ArtifactWrapper.java:136) ~[mule-module-launcher-3.8.0.jar:3.8.0] at org.mule.module.launcher.artifact.ArtifactWrapper.start(ArtifactWrapper.java:100) ~[mule-module-launcher-3.8.0.jar:3.8.0] at org.mule.module.launcher.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:26) ~[mule-module-launcher-3.8.0.jar:3.8.0] at org.mule.module.launcher.DefaultArchiveDeployer.guardedDeploy(DefaultArchiveDeployer.java:324) ~[mule-module-launcher-3.8.0.jar:3.8.0] at org.mule.module.launcher.DefaultArchiveDeployer.deployArtifact(DefaultArchiveDeployer.java:345) ~[mule-module-launcher-3.8.0.jar:3.8.0] at org.mule.module.launcher.DefaultArchiveDeployer.deployPackagedArtifact(DefaultArchiveDeployer.java:163) ~[mule-module-launcher-3.8.0.jar:3.8.0] at org.mule.module.launcher.DefaultArchiveDeployer.deployPackagedArtifact(DefaultArchiveDeployer.java:268) ~[mule-module-launcher-3.8.0.jar:3.8.0] at org.mule.module.launcher.DefaultArchiveDeployer.deployPackagedArtifact(DefaultArchiveDeployer.java:83) ~[mule-module-launcher-3.8.0.jar:3.8.0] at org.mule.module.launcher.DeploymentDirectoryWatcher.deployPackedApps(DeploymentDirectoryWatcher.java:275) ~[mule-module-launcher-3.8.0.jar:3.8.0] at org.mule.module.launcher.DeploymentDirectoryWatcher.start(DeploymentDirectoryWatcher.java:150) ~[mule-module-launcher-3.8.0.jar:3.8.0] at org.mule.module.launcher.MuleDeploymentService.start(MuleDeploymentService.java:104) ~[mule-module-launcher-3.8.0.jar:3.8.0] at org.mule.module.launcher.MuleContainer.start(MuleContainer.java:170) ~[mule-module-launcher-3.8.0.jar:3.8.0] at org.mule.tooling.server.application.ApplicationDeployer.main(ApplicationDeployer.java:15) ~[tooling-support-3.8.0.jar:?] DEBUG 2016-05-25 14:12:08,046 [Log4j2-AsyncLoggerConfig-3] org.mule.module.launcher.application.CompositeApplicationClassLoader: Class 'org.mule.tooling.server.application.ApplicationDeployer' loaded from classLoader 'org.mule.module.launcher.MuleApplicationClassLoader[security-best-practices]@19868320 {noformat}

    MuleSoft JIRA | 7 months ago | Alejandro Sequeira
    org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'zzz_last_jetty-webapp-agent' is defined
  6. 0

    When I deploy the attached application there are several errors shown in the log, for example: {noformat} DEBUG 2016-05-25 14:12:08,039 [main] org.mule.config.spring.SpringRegistry: No bean named 'zzz_last_jetty-webapp-agent' is defined org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'zzz_last_jetty-webapp-agent' is defined at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanDefinition(DefaultListableBeanFactory.java:683) ~[mule-module-spring-config-3.8.0.jar:4.1.6.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.getMergedLocalBeanDefinition(AbstractBeanFactory.java:1168) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:281) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE] at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:956) ~[spring-context-4.1.6.RELEASE.jar:4.1.6.RELEASE] at org.mule.config.spring.SpringRegistry.lookupObject(SpringRegistry.java:196) ~[mule-module-spring-config-3.8.0.jar:3.8.0] at org.mule.config.spring.SpringRegistry.lookupObject(SpringRegistry.java:161) ~[mule-module-spring-config-3.8.0.jar:3.8.0] at org.mule.registry.AbstractRegistryBroker.unregisterObject(AbstractRegistryBroker.java:285) ~[mule-core-3.8.0.jar:3.8.0] at org.mule.registry.AbstractRegistryBroker.unregisterObject(AbstractRegistryBroker.java:300) ~[mule-core-3.8.0.jar:3.8.0] at org.mule.registry.MuleRegistryHelper.unregisterAgent(MuleRegistryHelper.java:628) ~[mule-core-3.8.0.jar:3.8.0] at org.mule.AbstractAgent.unregisterMeQuietly(AbstractAgent.java:58) ~[mule-core-3.8.0.jar:3.8.0] at org.mule.transport.servlet.jetty.JettyWebappServerAgent.start(JettyWebappServerAgent.java:58) ~[mule-transport-jetty-3.8.0.jar:3.8.0] 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.lifecycle.phases.DefaultLifecyclePhase.applyLifecycle(DefaultLifecyclePhase.java:237) ~[mule-core-3.8.0.jar:3.8.0] at org.mule.lifecycle.RegistryLifecycleManager.applyPhase(RegistryLifecycleManager.java:198) ~[mule-core-3.8.0.jar:3.8.0] at org.mule.registry.AbstractRegistry.unregisterObject(AbstractRegistry.java:163) ~[mule-core-3.8.0.jar:3.8.0] at org.mule.registry.AbstractRegistryBroker.unregisterObject(AbstractRegistryBroker.java:287) ~[mule-core-3.8.0.jar:3.8.0] at org.mule.registry.AbstractRegistryBroker.unregisterObject(AbstractRegistryBroker.java:300) ~[mule-core-3.8.0.jar:3.8.0] at org.mule.registry.MuleRegistryHelper.unregisterAgent(MuleRegistryHelper.java:628) ~[mule-core-3.8.0.jar:3.8.0] at org.mule.AbstractAgent.unregisterMeQuietly(AbstractAgent.java:58) ~[mule-core-3.8.0.jar:3.8.0] at org.mule.transport.servlet.jetty.JettyWebappServerAgent.start(JettyWebappServerAgent.java:58) ~[mule-transport-jetty-3.8.0.jar:3.8.0] 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.lifecycle.phases.DefaultLifecyclePhase.applyLifecycle(DefaultLifecyclePhase.java:237) ~[mule-core-3.8.0.jar:3.8.0] at org.mule.lifecycle.RegistryLifecycleCallback.doApplyLifecycle(RegistryLifecycleCallback.java:99) ~[mule-core-3.8.0.jar:3.8.0] at org.mule.lifecycle.RegistryLifecycleCallback.onTransition(RegistryLifecycleCallback.java:71) ~[mule-core-3.8.0.jar:3.8.0] at org.mule.lifecycle.RegistryLifecycleManager.invokePhase(RegistryLifecycleManager.java:155) ~[mule-core-3.8.0.jar:3.8.0] at org.mule.lifecycle.RegistryLifecycleManager.fireLifecycle(RegistryLifecycleManager.java:126) ~[mule-core-3.8.0.jar:3.8.0] at org.mule.registry.AbstractRegistryBroker.fireLifecycle(AbstractRegistryBroker.java:88) ~[mule-core-3.8.0.jar:3.8.0] at org.mule.registry.MuleRegistryHelper.fireLifecycle(MuleRegistryHelper.java:141) ~[mule-core-3.8.0.jar:3.8.0] at org.mule.lifecycle.MuleContextLifecycleManager$MuleContextLifecycleCallback.onTransition(MuleContextLifecycleManager.java:91) ~[mule-core-3.8.0.jar:3.8.0] at org.mule.lifecycle.MuleContextLifecycleManager$MuleContextLifecycleCallback.onTransition(MuleContextLifecycleManager.java:87) ~[mule-core-3.8.0.jar:3.8.0] at org.mule.lifecycle.MuleContextLifecycleManager.invokePhase(MuleContextLifecycleManager.java:69) ~[mule-core-3.8.0.jar:3.8.0] at org.mule.lifecycle.MuleContextLifecycleManager.fireLifecycle(MuleContextLifecycleManager.java:61) ~[mule-core-3.8.0.jar:3.8.0] at org.mule.DefaultMuleContext.start(DefaultMuleContext.java:311) ~[mule-core-3.8.0.jar:3.8.0] at org.mule.module.launcher.application.DefaultMuleApplication.start(DefaultMuleApplication.java:134) ~[mule-module-launcher-3.8.0.jar:3.8.0] at org.mule.module.launcher.artifact.ArtifactWrapper$4.execute(ArtifactWrapper.java:105) ~[mule-module-launcher-3.8.0.jar:3.8.0] at org.mule.module.launcher.artifact.ArtifactWrapper.executeWithinArtifactClassLoader(ArtifactWrapper.java:136) ~[mule-module-launcher-3.8.0.jar:3.8.0] at org.mule.module.launcher.artifact.ArtifactWrapper.start(ArtifactWrapper.java:100) ~[mule-module-launcher-3.8.0.jar:3.8.0] at org.mule.module.launcher.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:26) ~[mule-module-launcher-3.8.0.jar:3.8.0] at org.mule.module.launcher.DefaultArchiveDeployer.guardedDeploy(DefaultArchiveDeployer.java:324) ~[mule-module-launcher-3.8.0.jar:3.8.0] at org.mule.module.launcher.DefaultArchiveDeployer.deployArtifact(DefaultArchiveDeployer.java:345) ~[mule-module-launcher-3.8.0.jar:3.8.0] at org.mule.module.launcher.DefaultArchiveDeployer.deployPackagedArtifact(DefaultArchiveDeployer.java:163) ~[mule-module-launcher-3.8.0.jar:3.8.0] at org.mule.module.launcher.DefaultArchiveDeployer.deployPackagedArtifact(DefaultArchiveDeployer.java:268) ~[mule-module-launcher-3.8.0.jar:3.8.0] at org.mule.module.launcher.DefaultArchiveDeployer.deployPackagedArtifact(DefaultArchiveDeployer.java:83) ~[mule-module-launcher-3.8.0.jar:3.8.0] at org.mule.module.launcher.DeploymentDirectoryWatcher.deployPackedApps(DeploymentDirectoryWatcher.java:275) ~[mule-module-launcher-3.8.0.jar:3.8.0] at org.mule.module.launcher.DeploymentDirectoryWatcher.start(DeploymentDirectoryWatcher.java:150) ~[mule-module-launcher-3.8.0.jar:3.8.0] at org.mule.module.launcher.MuleDeploymentService.start(MuleDeploymentService.java:104) ~[mule-module-launcher-3.8.0.jar:3.8.0] at org.mule.module.launcher.MuleContainer.start(MuleContainer.java:170) ~[mule-module-launcher-3.8.0.jar:3.8.0] at org.mule.tooling.server.application.ApplicationDeployer.main(ApplicationDeployer.java:15) ~[tooling-support-3.8.0.jar:?] DEBUG 2016-05-25 14:12:08,040 [main] org.mule.lifecycle.RegistryLifecycleCallback: lifecycle phase: start for object: org.mule.module.management.agent.JmxApplicationAgent@1182d1df DEBUG 2016-05-25 14:12:08,040 [Log4j2-AsyncLoggerConfig-3] org.mule.module.launcher.application.CompositeApplicationClassLoader: Class 'org.mule.tooling.server.application.ApplicationDeployer' loaded from classLoader 'org.mule.module.launcher.MuleApplicationClassLoader[security-best-practices]@19868320 {noformat} {noformat} INFO 2016-05-25 14:12:08,044 [main] org.mule.processor.SedaStageLifecycleManager: Starting service: security-best-practicesFlow.stage1 DEBUG 2016-05-25 14:12:08,046 [main] org.mule.config.spring.SpringRegistry: No bean named '[security-best-practices].security-best-practicesFlow.stage1' is defined org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named '[security-best-practices].security-best-practicesFlow.stage1' is defined at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanDefinition(DefaultListableBeanFactory.java:683) ~[mule-module-spring-config-3.8.0.jar:4.1.6.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.getMergedLocalBeanDefinition(AbstractBeanFactory.java:1168) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:281) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE] at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:956) ~[spring-context-4.1.6.RELEASE.jar:4.1.6.RELEASE] at org.mule.config.spring.SpringRegistry.lookupObject(SpringRegistry.java:196) ~[mule-module-spring-config-3.8.0.jar:3.8.0] at org.mule.config.spring.SpringRegistry.lookupObject(SpringRegistry.java:161) ~[mule-module-spring-config-3.8.0.jar:3.8.0] at org.mule.registry.AbstractRegistryBroker.lookupObject(AbstractRegistryBroker.java:134) ~[mule-core-3.8.0.jar:3.8.0] at org.mule.registry.MuleRegistryHelper.lookupFlowConstruct(MuleRegistryHelper.java:442) ~[mule-core-3.8.0.jar:3.8.0] at com.mulesoft.mule.config.pool.MonitoredThreadPoolFactory.createPool(MonitoredThreadPoolFactory.java:58) ~[mule-core-ee-3.8.0.jar:3.8.0] at org.mule.config.ImmutableThreadingProfile.createPool(ImmutableThreadingProfile.java:175) ~[mule-core-3.8.0.jar:3.8.0] at org.mule.work.MuleWorkManager.start(MuleWorkManager.java:95) ~[mule-core-3.8.0.jar:3.8.0] at org.mule.processor.AsyncInterceptingMessageProcessor.start(AsyncInterceptingMessageProcessor.java:77) ~[mule-core-3.8.0.jar:3.8.0] at org.mule.processor.SedaStageInterceptingMessageProcessor.access$001(SedaStageInterceptingMessageProcessor.java:49) ~[mule-core-3.8.0.jar:3.8.0] at org.mule.processor.SedaStageInterceptingMessageProcessor$3.onTransition(SedaStageInterceptingMessageProcessor.java:390) ~[mule-core-3.8.0.jar:3.8.0] at org.mule.processor.SedaStageInterceptingMessageProcessor$3.onTransition(SedaStageInterceptingMessageProcessor.java:382) ~[mule-core-3.8.0.jar:3.8.0] at org.mule.lifecycle.AbstractLifecycleManager.invokePhase(AbstractLifecycleManager.java:138) ~[mule-core-3.8.0.jar:3.8.0] at org.mule.processor.SedaStageLifecycleManager.fireStartPhase(SedaStageLifecycleManager.java:89) ~[mule-core-3.8.0.jar:3.8.0] at org.mule.processor.SedaStageInterceptingMessageProcessor.start(SedaStageInterceptingMessageProcessor.java:381) ~[mule-core-3.8.0.jar:3.8.0] at org.mule.processor.chain.AbstractMessageProcessorChain.start(AbstractMessageProcessorChain.java:102) ~[mule-core-3.8.0.jar:3.8.0] at org.mule.construct.AbstractFlowConstruct.startIfStartable(AbstractFlowConstruct.java:325) ~[mule-core-3.8.0.jar:3.8.0] at org.mule.construct.AbstractPipeline.doStart(AbstractPipeline.java:354) ~[mule-core-3.8.0.jar:3.8.0] at org.mule.construct.Flow.doStart(Flow.java:93) ~[mule-core-3.8.0.jar:3.8.0] at org.mule.construct.AbstractFlowConstruct$2.onTransition(AbstractFlowConstruct.java:136) ~[mule-core-3.8.0.jar:3.8.0] at org.mule.construct.AbstractFlowConstruct$2.onTransition(AbstractFlowConstruct.java:132) ~[mule-core-3.8.0.jar:3.8.0] at org.mule.lifecycle.AbstractLifecycleManager.invokePhase(AbstractLifecycleManager.java:138) ~[mule-core-3.8.0.jar:3.8.0] at org.mule.construct.FlowConstructLifecycleManager.fireStartPhase(FlowConstructLifecycleManager.java:92) ~[mule-core-3.8.0.jar:3.8.0] at org.mule.construct.AbstractFlowConstruct.start(AbstractFlowConstruct.java:131) ~[mule-core-3.8.0.jar:3.8.0] 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.lifecycle.phases.DefaultLifecyclePhase.applyLifecycle(DefaultLifecyclePhase.java:237) ~[mule-core-3.8.0.jar:3.8.0] at org.mule.lifecycle.RegistryLifecycleCallback.doApplyLifecycle(RegistryLifecycleCallback.java:99) ~[mule-core-3.8.0.jar:3.8.0] at org.mule.lifecycle.RegistryLifecycleCallback.onTransition(RegistryLifecycleCallback.java:71) ~[mule-core-3.8.0.jar:3.8.0] at org.mule.lifecycle.RegistryLifecycleManager.invokePhase(RegistryLifecycleManager.java:155) ~[mule-core-3.8.0.jar:3.8.0] at org.mule.lifecycle.RegistryLifecycleManager.fireLifecycle(RegistryLifecycleManager.java:126) ~[mule-core-3.8.0.jar:3.8.0] at org.mule.registry.AbstractRegistryBroker.fireLifecycle(AbstractRegistryBroker.java:88) ~[mule-core-3.8.0.jar:3.8.0] at org.mule.registry.MuleRegistryHelper.fireLifecycle(MuleRegistryHelper.java:141) ~[mule-core-3.8.0.jar:3.8.0] at org.mule.lifecycle.MuleContextLifecycleManager$MuleContextLifecycleCallback.onTransition(MuleContextLifecycleManager.java:91) ~[mule-core-3.8.0.jar:3.8.0] at org.mule.lifecycle.MuleContextLifecycleManager$MuleContextLifecycleCallback.onTransition(MuleContextLifecycleManager.java:87) ~[mule-core-3.8.0.jar:3.8.0] at org.mule.lifecycle.MuleContextLifecycleManager.invokePhase(MuleContextLifecycleManager.java:69) ~[mule-core-3.8.0.jar:3.8.0] at org.mule.lifecycle.MuleContextLifecycleManager.fireLifecycle(MuleContextLifecycleManager.java:61) ~[mule-core-3.8.0.jar:3.8.0] at org.mule.DefaultMuleContext.start(DefaultMuleContext.java:311) ~[mule-core-3.8.0.jar:3.8.0] at org.mule.module.launcher.application.DefaultMuleApplication.start(DefaultMuleApplication.java:134) ~[mule-module-launcher-3.8.0.jar:3.8.0] at org.mule.module.launcher.artifact.ArtifactWrapper$4.execute(ArtifactWrapper.java:105) ~[mule-module-launcher-3.8.0.jar:3.8.0] at org.mule.module.launcher.artifact.ArtifactWrapper.executeWithinArtifactClassLoader(ArtifactWrapper.java:136) ~[mule-module-launcher-3.8.0.jar:3.8.0] at org.mule.module.launcher.artifact.ArtifactWrapper.start(ArtifactWrapper.java:100) ~[mule-module-launcher-3.8.0.jar:3.8.0] at org.mule.module.launcher.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:26) ~[mule-module-launcher-3.8.0.jar:3.8.0] at org.mule.module.launcher.DefaultArchiveDeployer.guardedDeploy(DefaultArchiveDeployer.java:324) ~[mule-module-launcher-3.8.0.jar:3.8.0] at org.mule.module.launcher.DefaultArchiveDeployer.deployArtifact(DefaultArchiveDeployer.java:345) ~[mule-module-launcher-3.8.0.jar:3.8.0] at org.mule.module.launcher.DefaultArchiveDeployer.deployPackagedArtifact(DefaultArchiveDeployer.java:163) ~[mule-module-launcher-3.8.0.jar:3.8.0] at org.mule.module.launcher.DefaultArchiveDeployer.deployPackagedArtifact(DefaultArchiveDeployer.java:268) ~[mule-module-launcher-3.8.0.jar:3.8.0] at org.mule.module.launcher.DefaultArchiveDeployer.deployPackagedArtifact(DefaultArchiveDeployer.java:83) ~[mule-module-launcher-3.8.0.jar:3.8.0] at org.mule.module.launcher.DeploymentDirectoryWatcher.deployPackedApps(DeploymentDirectoryWatcher.java:275) ~[mule-module-launcher-3.8.0.jar:3.8.0] at org.mule.module.launcher.DeploymentDirectoryWatcher.start(DeploymentDirectoryWatcher.java:150) ~[mule-module-launcher-3.8.0.jar:3.8.0] at org.mule.module.launcher.MuleDeploymentService.start(MuleDeploymentService.java:104) ~[mule-module-launcher-3.8.0.jar:3.8.0] at org.mule.module.launcher.MuleContainer.start(MuleContainer.java:170) ~[mule-module-launcher-3.8.0.jar:3.8.0] at org.mule.tooling.server.application.ApplicationDeployer.main(ApplicationDeployer.java:15) ~[tooling-support-3.8.0.jar:?] DEBUG 2016-05-25 14:12:08,046 [Log4j2-AsyncLoggerConfig-3] org.mule.module.launcher.application.CompositeApplicationClassLoader: Class 'org.mule.tooling.server.application.ApplicationDeployer' loaded from classLoader 'org.mule.module.launcher.MuleApplicationClassLoader[security-best-practices]@19868320 {noformat}

    MuleSoft JIRA | 7 months ago | Alejandro Sequeira
    org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'zzz_last_jetty-webapp-agent' 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 'org.springframework.web.servlet.handler.SimpleUrlHandlerMapping#iTrack#src/main/webapp/WEB-INF/spring/webmvc-config.xml#20' is defined

      at org.springframework.beans.factory.support.SimpleBeanDefinitionRegistry.getBeanDefinition()
    2. Spring Beans
      SimpleBeanDefinitionRegistry.getBeanDefinition
      1. org.springframework.beans.factory.support.SimpleBeanDefinitionRegistry.getBeanDefinition(SimpleBeanDefinitionRegistry.java:60)
      1 frame
    3. Spring MVC
      ViewControllerBeanDefinitionParser.parse
      1. org.springframework.web.servlet.config.ViewControllerBeanDefinitionParser.parse(ViewControllerBeanDefinitionParser.java:63)
      1 frame
    4. Spring Beans
      XmlBeanDefinitionReader.registerBeanDefinitions
      1. org.springframework.beans.factory.xml.NamespaceHandlerSupport.parse(NamespaceHandlerSupport.java:73)
      2. org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1335)
      3. org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1325)
      4. org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.parseBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:136)
      5. org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.registerBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:93)
      6. org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions(XmlBeanDefinitionReader.java:493)
      6 frames
    5. org.springframework.ide
      BeansConfig$2.registerBeanDefinitions
      1. org.springframework.ide.eclipse.beans.core.internal.model.BeansConfig$2.registerBeanDefinitions(BeansConfig.java:351)
      1 frame
    6. Spring Beans
      XmlBeanDefinitionReader.loadBeanDefinitions
      1. org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:390)
      2. org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:334)
      2 frames
    7. org.springframework.ide
      BeansConfig$2.loadBeanDefinitions
      1. org.springframework.ide.eclipse.beans.core.internal.model.BeansConfig$2.loadBeanDefinitions(BeansConfig.java:338)
      1 frame
    8. Spring Beans
      XmlBeanDefinitionReader.loadBeanDefinitions
      1. org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:302)
      1 frame
    9. org.springframework.ide
      BeansConfig$3.call
      1. org.springframework.ide.eclipse.beans.core.internal.model.BeansConfig$3.call(BeansConfig.java:380)
      2. org.springframework.ide.eclipse.beans.core.internal.model.BeansConfig$3.call(BeansConfig.java:1)
      2 frames
    10. Java RT
      Thread.run
      1. java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
      2. java.util.concurrent.FutureTask.run(Unknown Source)
      3. java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
      4. java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
      5. java.util.concurrent.FutureTask.run(Unknown Source)
      6. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
      7. java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      8. java.lang.Thread.run(Unknown Source)
      8 frames