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

Stack Overflow | Yugal | 6 years ago
  1. 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
  2. 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
  3. 0

    Spring STS - unable to resolve properties

    Stack Overflow | 11 months 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}"
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 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 | 11 months 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}"
  6. 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 | 11 months 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}"

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

      at org.springframework.context.annotation.ConfigurationClassPostProcessor.processConfigBeanDefinitions()
    2. Spring Context
      ConfigurationClassPostProcessor.processConfigBeanDefinitions
      1. org.springframework.context.annotation.ConfigurationClassPostProcessor.processConfigBeanDefinitions(ConfigurationClassPostProcessor.java:180)
      1 frame