java.lang.IllegalArgumentException: Could not resolve placeholder 'provider.basePackage' in string value "${provider.basePackage}" 25-Jul-2016 14:06:55.883 SEVERE [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.core.StandardContext.startInternal Context [] startup failed due to previous errors

Stack Overflow | Andrew | 4 months ago
  1. 0

    How can I set the component-scan value using the properties?

    Stack Overflow | 4 months ago | Andrew
    java.lang.IllegalArgumentException: Could not resolve placeholder 'provider.basePackage' in string value "${provider.basePackage}" 25-Jul-2016 14:06:55.883 SEVERE [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.core.StandardContext.startInternal Context [] startup failed due to previous errors
  2. 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"
  3. 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"
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Placeholder not resolved in @PropertySource annotation in jar when warred up

    Stack Overflow | 1 year ago | Josh D
    java.lang.IllegalArgumentException: Could not resolve placeholder 'blah.env' in string value "classpath:blahClient${blah.env}.properties"
  6. 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"

    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 'provider.basePackage' in string value "${provider.basePackage}" 25-Jul-2016 14:06:55.883 SEVERE [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.core.StandardContext.startInternal Context [] startup failed due to previous errors

      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
      ComponentScanBeanDefinitionParser.parse
      1. org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider.resolveBasePackage(ClassPathScanningCandidateComponentProvider.java:330)
      2. org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider.findCandidateComponents(ClassPathScanningCandidateComponentProvider.java:269)
      3. org.springframework.context.annotation.ClassPathBeanDefinitionScanner.doScan(ClassPathBeanDefinitionScanner.java:248)
      4. org.springframework.context.annotation.ComponentScanBeanDefinitionParser.parse(ComponentScanBeanDefinitionParser.java:87)
      4 frames
    4. Spring Beans
      XmlBeanDefinitionReader.doLoadBeanDefinitions
      1. org.springframework.beans.factory.xml.NamespaceHandlerSupport.parse(NamespaceHandlerSupport.java:74)
      2. org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1411)
      3. org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1401)
      4. org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.parseBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:168)
      5. org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.doRegisterBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:138)
      6. org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.registerBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:94)
      7. org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions(XmlBeanDefinitionReader.java:508)
      8. org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:392)
      8 frames