org.springframework.beans.factory.BeanDefinitionStoreException: Failed to parse configuration class [com.mmt.application.PwaApplication]; nested exception is java.lang.IllegalArgumentException: Could not resolve placeholder 'catalina.home' in string value "file:${catalina.home}/conf/pwaHLP.properties"

Stack Overflow | pokemon blue | 2 months ago
  1. 0

    Tomcat 8 not launching from eclipse

    Stack Overflow | 2 months ago | pokemon blue
    org.springframework.beans.factory.BeanDefinitionStoreException: Failed to parse configuration class [com.mmt.application.PwaApplication]; nested exception is java.lang.IllegalArgumentException: Could not resolve placeholder 'catalina.home' in string value "file:${catalina.home}/conf/pwaHLP.properties"
  2. 0

    Spring - Dynamic properties in compilation time

    Stack Overflow | 1 year ago | libik
    org.springframework.beans.factory.BeanDefinitionStoreException: Failed to parse configuration class [cz.ackee.sample.config.Config]; nested exception is java.lang.IllegalArgumentException: Could not resolve placeholder 'coffee_feedback_env' in string value "classpath:server-${coffee_feedback_env}.properties"
  3. 0

    Spring controller integration test profile configuration issues

    Stack Overflow | 9 months ago | 000
    org.springframework.beans.factory.BeanDefinitionStoreException: Failed to parse configuration class [x.y.z.WebConfigs]; nested exception is java.lang.IllegalArgumentException: Could not resolve placeholder 'spring.profiles.active' in string value "classpath:${spring.profiles.active}.properties"
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Tomcat 7 fails to deploy war - Failed to parse configuration class

    Stack Overflow | 7 months ago | Dylan Kolson
    org.springframework.beans.factory.BeanDefinitionStoreException: Failed to parse configuration class [net.acesinc.ats.web.config.SecurityConfig]; nested exception is java.lang.IllegalArgumentException: Could not resolve placeholder 'spring.profiles.active' in string value "classpath:${spring.profiles.active}/application.properties"

    3 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

      Could not resolve placeholder 'catalina.home' in string value "file:${catalina.home}/conf/pwaHLP.properties"

      at org.springframework.util.PropertyPlaceholderHelper.parseStringValue()
    2. Spring Core
      AbstractEnvironment.resolveRequiredPlaceholders
      1. org.springframework.util.PropertyPlaceholderHelper.parseStringValue(PropertyPlaceholderHelper.java:174)
      2. org.springframework.util.PropertyPlaceholderHelper.replacePlaceholders(PropertyPlaceholderHelper.java:126)
      3. org.springframework.core.env.AbstractPropertyResolver.doResolvePlaceholders(AbstractPropertyResolver.java:204)
      4. org.springframework.core.env.AbstractPropertyResolver.resolveRequiredPlaceholders(AbstractPropertyResolver.java:178)
      5. org.springframework.core.env.AbstractEnvironment.resolveRequiredPlaceholders(AbstractEnvironment.java:571)
      5 frames
    3. Spring Context
      AbstractApplicationContext.refresh
      1. org.springframework.context.annotation.ConfigurationClassParser.processPropertySource(ConfigurationClassParser.java:359)
      2. org.springframework.context.annotation.ConfigurationClassParser.doProcessConfigurationClass(ConfigurationClassParser.java:255)
      3. org.springframework.context.annotation.ConfigurationClassParser.processConfigurationClass(ConfigurationClassParser.java:232)
      4. org.springframework.context.annotation.ConfigurationClassParser.parse(ConfigurationClassParser.java:191)
      5. org.springframework.context.annotation.ConfigurationClassParser.doProcessConfigurationClass(ConfigurationClassParser.java:272)
      6. org.springframework.context.annotation.ConfigurationClassParser.processConfigurationClass(ConfigurationClassParser.java:232)
      7. org.springframework.context.annotation.ConfigurationClassParser.parse(ConfigurationClassParser.java:199)
      8. org.springframework.context.annotation.ConfigurationClassParser.parse(ConfigurationClassParser.java:168)
      9. org.springframework.context.annotation.ConfigurationClassPostProcessor.processConfigBeanDefinitions(ConfigurationClassPostProcessor.java:321)
      10. org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanDefinitionRegistry(ConfigurationClassPostProcessor.java:243)
      11. org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanDefinitionRegistryPostProcessors(PostProcessorRegistrationDelegate.java:273)
      12. org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:98)
      13. org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:678)
      14. org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:520)
      14 frames
    4. Spring Boot
      SpringApplication.run
      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.SpringApplication.run(SpringApplication.java:1191)
      6. org.springframework.boot.SpringApplication.run(SpringApplication.java:1180)
      6 frames
    5. com.mmt.application
      PwaApplication.main
      1. com.mmt.application.PwaApplication.main(PwaApplication.java:19)
      1 frame
    6. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:498)
      4 frames
    7. org.springframework.boot
      RestartLauncher.run
      1. org.springframework.boot.devtools.restart.RestartLauncher.run(RestartLauncher.java:49)
      1 frame