org.springframework.beans.factory.BeanDefinitionStoreException: Failed to parse configuration class [com.finovera.web.config.CabinetConfig]; nested exception is java.lang.IllegalArgumentException: Could not resolve placeholder 'FINOVERA_PROPERTIES' in string value "${FINOVERA_PROPERTIES}"

SpringSource Issue Tracker | Niranjan Rao | 1 year ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Spring STS - unable to resolve properties

    Stack Overflow | 1 year ago | user871199
    org.springframework.beans.factory.BeanDefinitionStoreException: Failed to parse configuration class [com.finovera.web.config.CabinetConfig]; nested exception is java.lang.IllegalArgumentException: Could not resolve placeholder 'FINOVERA_PROPERTIES' in string value "${FINOVERA_PROPERTIES}"
  2. 0

    Basic issue is not able to resolve placeholders in eclipse like ${FINOVERA_PROPERTIES} in following example. How do I tell to ignore PropertySources or pass my own property source? It creates severe functionality loss as it can not find almost every component/controller in the project. Works fine if the PropertySources annotation is commented out. If you have declaration like following @Configuration() @Import({ WebSharedConfig.class, SpringSecurityConfig.class }) @PropertySources(value = { @PropertySource({ "${FINOVERA_PROPERTIES}" }), @PropertySource(value = { "${STATIC_OVERRIDE_PROPERTIES}", }, ignoreResourceNotFound = true) }) @EnableTransactionManagement public class CabinetConfig extends WebMvcConfigurationSupport { } STS fails, following is logged in the error logs org.springframework.beans.factory.BeanDefinitionStoreException: Failed to parse configuration class [com.finovera.web.config.CabinetConfig]; nested exception is java.lang.IllegalArgumentException: Could not resolve placeholder 'FINOVERA_PROPERTIES' in string value "${FINOVERA_PROPERTIES}" at org.springframework.context.annotation.ConfigurationClassParser.parse(ConfigurationClassParser.java:181) at org.springframework.context.annotation.ConfigurationClassPostProcessor.processConfigBeanDefinitions(ConfigurationClassPostProcessor.java:321)

    SpringSource Issue Tracker | 1 year ago | Niranjan Rao
    org.springframework.beans.factory.BeanDefinitionStoreException: Failed to parse configuration class [com.finovera.web.config.CabinetConfig]; nested exception is java.lang.IllegalArgumentException: Could not resolve placeholder 'FINOVERA_PROPERTIES' in string value "${FINOVERA_PROPERTIES}"
  3. 0

    Basic issue is not able to resolve placeholders in eclipse like ${FINOVERA_PROPERTIES} in following example. How do I tell to ignore PropertySources or pass my own property source? It creates severe functionality loss as it can not find almost every component/controller in the project. Works fine if the PropertySources annotation is commented out. If you have declaration like following @Configuration() @Import({ WebSharedConfig.class, SpringSecurityConfig.class }) @PropertySources(value = { @PropertySource({ "${FINOVERA_PROPERTIES}" }), @PropertySource(value = { "${STATIC_OVERRIDE_PROPERTIES}", }, ignoreResourceNotFound = true) }) @EnableTransactionManagement public class CabinetConfig extends WebMvcConfigurationSupport { } STS fails, following is logged in the error logs org.springframework.beans.factory.BeanDefinitionStoreException: Failed to parse configuration class [com.finovera.web.config.CabinetConfig]; nested exception is java.lang.IllegalArgumentException: Could not resolve placeholder 'FINOVERA_PROPERTIES' in string value "${FINOVERA_PROPERTIES}" at org.springframework.context.annotation.ConfigurationClassParser.parse(ConfigurationClassParser.java:181) at org.springframework.context.annotation.ConfigurationClassPostProcessor.processConfigBeanDefinitions(ConfigurationClassPostProcessor.java:321)

    SpringSource Issue Tracker | 1 year ago | Niranjan Rao
    org.springframework.beans.factory.BeanDefinitionStoreException: Failed to parse configuration class [com.finovera.web.config.CabinetConfig]; nested exception is java.lang.IllegalArgumentException: Could not resolve placeholder 'FINOVERA_PROPERTIES' in string value "${FINOVERA_PROPERTIES}"
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    option `--auto-export-maven-dependencies` doesn't

    GitHub | 2 years ago | jvasileff
    org.springframework.beans.factory.BeanDefinitionStoreException: Failed to load bean class: com.vasileff.csmpetstore.config.AppConfig; nested exception is java.io.FileNotFoundException: class path resource [application.properties] cannot be opened because it does not exist
  6. 0

    spring framework Error: Context initialization failed

    Stack Overflow | 6 years ago | Yugal
    org.springframework.beans.factory.BeanDefinitionStoreException: Failed to load bean class: com.myPackage.myProject.calendar.bpo.BusinessDirectoryBPOImpl; nested exception is java.io.FileNotFoundException: class path resource [com/myPackage/framework/bpo/BaseBPOImpl.class] cannot be opened because it does not exist

    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.BeanDefinitionStoreException

      Failed to parse configuration class [com.finovera.web.config.CabinetConfig]; nested exception is java.lang.IllegalArgumentException: Could not resolve placeholder 'FINOVERA_PROPERTIES' in string value "${FINOVERA_PROPERTIES}"

      at org.springframework.context.annotation.ConfigurationClassParser.parse()
    2. Spring Context
      ConfigurationClassPostProcessor.processConfigBeanDefinitions
      1. org.springframework.context.annotation.ConfigurationClassParser.parse(ConfigurationClassParser.java:181)
      2. org.springframework.context.annotation.ConfigurationClassPostProcessor.processConfigBeanDefinitions(ConfigurationClassPostProcessor.java:321)
      2 frames