org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Application].StandardHost[localhost].StandardContext[/Application]]

Stack Overflow | nnaz | 9 months ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to rafael . Or join the community to write better ones.
  1. 0

    unable to deploy war app -springboot- in tomcat

    Stack Overflow | 9 months ago | nnaz
    org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Application].StandardHost[localhost].StandardContext[/Application]]
  2. 0

    GitHub comment 1869#232776423

    GitHub | 10 months ago | mmoayyed
    java.lang.IllegalArgumentException: No ConfigurationProperties annotation found on 'org.apereo.cas.config.CasCoreAuthenticationConfiguration'.
  3. 0

    Brixton.BUILD-SNAPSHOT unable to build

    GitHub | 2 years ago | warroyo
    java.lang.IllegalArgumentException: No ConfigurationProperties annotation found on 'org.springframework.cloud.bus.BusProperties'.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0
    samebug tip
    If you're unit testing, you should instantiate only the service and mock the dependencies. If you're testing integration, you should add all the mocking to the configurations file.

  1. tvrmsmith 1 times, last 5 days ago
  2. odd 2 times, last 2 weeks ago
  3. ivanszkypeter 6 times, last 2 weeks ago
  4. tomthomas 1 times, last 2 weeks ago
  5. Axelo 1 times, last 3 weeks ago
16 more registered users
79 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.IllegalArgumentException

    No ConfigurationProperties annotation found on 'org.springframework.boot.autoconfigure.jms.JmsTemplateProperties'.

    at org.springframework.util.Assert.notNull()
  2. Spring Core
    Assert.notNull
    1. org.springframework.util.Assert.notNull(Assert.java:115)
    1 frame
  3. Spring Boot
    EnableConfigurationPropertiesImportSelector$ConfigurationPropertiesBeanRegistrar.registerBeanDefinitions
    1. org.springframework.boot.context.properties.EnableConfigurationPropertiesImportSelector$ConfigurationPropertiesBeanRegistrar.registerBeanDefinition(EnableConfigurationPropertiesImportSelector.java:118)
    2. org.springframework.boot.context.properties.EnableConfigurationPropertiesImportSelector$ConfigurationPropertiesBeanRegistrar.registerBeanDefinitions(EnableConfigurationPropertiesImportSelector.java:82)
    2 frames
  4. Spring Context
    AbstractApplicationContext.refresh
    1. org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitionsFromRegistrars(ConfigurationClassBeanDefinitionReader.java:352)
    2. org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitionsForConfigurationClass(ConfigurationClassBeanDefinitionReader.java:143)
    3. org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitions(ConfigurationClassBeanDefinitionReader.java:116)
    4. org.springframework.context.annotation.ConfigurationClassPostProcessor.processConfigBeanDefinitions(ConfigurationClassPostProcessor.java:333)
    5. org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanDefinitionRegistry(ConfigurationClassPostProcessor.java:243)
    6. org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanDefinitionRegistryPostProcessors(PostProcessorRegistrationDelegate.java:273)
    7. org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:98)
    8. org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:678)
    9. org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:520)
    9 frames
  5. Spring Boot
    SpringBootServletInitializer.onStartup
    1. org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:118)
    2. org.springframework.boot.SpringApplication.refresh(SpringApplication.java:766)
    3. org.springframework.boot.SpringApplication.createAndRefreshContext(SpringApplication.java:361)
    4. org.springframework.boot.SpringApplication.run(SpringApplication.java:307)
    5. org.springframework.boot.context.web.SpringBootServletInitializer.run(SpringBootServletInitializer.java:149)
    6. org.springframework.boot.context.web.SpringBootServletInitializer.createRootApplicationContext(SpringBootServletInitializer.java:129)
    7. org.springframework.boot.context.web.SpringBootServletInitializer.onStartup(SpringBootServletInitializer.java:85)
    7 frames
  6. Spring
    SpringServletContainerInitializer.onStartup
    1. org.springframework.web.SpringServletContainerInitializer.onStartup(SpringServletContainerInitializer.java:175)
    1 frame
  7. Glassfish Core
    HostConfig$DeployWar.run
    1. org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5167)
    2. org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:152)
    3. org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:724)
    4. org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:700)
    5. org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734)
    6. org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:952)
    7. org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1823)
    7 frames
  8. Java RT
    Thread.run
    1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
    2. java.util.concurrent.FutureTask.run(FutureTask.java:266)
    3. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    4. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    5. java.lang.Thread.run(Thread.java:745)
    5 frames