org.springframework.beans.factory.BeanDefinitionStoreException: Invalid bean definition with name 'ldapContextSource' defined in ServletContext resource [/WEB-INF/applicationContext-externalAuth-LDAP.xml]: Could not resolve placeholder 'external.ldapPassword' in string value "${external.ldapPassword}"; nested exception is java.lang.IllegalArgumentException: Could not resolve placeholder 'external.ldapPassword' in string value "${external.ldapPassword}"

Stack Overflow | DWBI | 8 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    ERROR ContextLoader,localhost-startStop-1:331 - Context initialization failed

    Stack Overflow | 8 months ago | DWBI
    org.springframework.beans.factory.BeanDefinitionStoreException: Invalid bean definition with name 'ldapContextSource' defined in ServletContext resource [/WEB-INF/applicationContext-externalAuth-LDAP.xml]: Could not resolve placeholder 'external.ldapPassword' in string value "${external.ldapPassword}"; nested exception is java.lang.IllegalArgumentException: Could not resolve placeholder 'external.ldapPassword' in string value "${external.ldapPassword}"
  2. 0

    intellij doesn't pick Ivy dependencies at deployment

    Stack Overflow | 4 weeks ago | ahmed
    org.springframework.beans.factory.BeanDefinitionStoreException: Invalid bean definition with name 'org.springframework.scheduling.config.IntervalTask#1' defined in null: Could not resolve placeholder 'roll_call.repeat_interval' in string value "${roll_call.repeat_interval}"; nested exception is java.lang.IllegalArgumentException: Could not resolve placeholder 'roll_call.repeat_interval' in string value "${roll_call.repeat_interval}"
  3. 0

    Probable jar conflict/missing causes BeanCreationException in Fosstrak

    Stack Overflow | 3 years ago | Roberto Vergallo
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'aleApplicationContext' defined in file [/Applications/apache-tomcat-7.0.47/webapps/fc-server/WEB-INF/classes/org/fosstrak/ale/server/ALEApplicationContext.class]: Initialization of bean failed; nested exception is java.lang.IllegalStateException: caught exception during setup of the critical components.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Spring autowiring

    Stack Overflow | 4 years ago | Jared Knipp
    org.springframework.beans.factory.BeanCreationException: Could not autowire field: private java.lang.String com.example.library.controller.App.dir; nested exception is java.lang.IllegalArgumentException: Could not resolve placeholder 'app.achDir'
  6. 0

    Spring Injection can not find variable in resource file

    Stack Overflow | 4 years ago | erencan
    java.lang.IllegalArgumentException: Could not resolve placeholder 'url.logout' in string value [${url.logout}]

  1. Andreas Häber 1 times, last 9 months ago
  2. Kawada 8 times, last 11 months ago
  3. mauritius 1 times, last 3 months ago
8 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 'external.ldapPassword' in string value "${external.ldapPassword}"

    at org.springframework.util.PropertyPlaceholderHelper.parseStringValue()
  2. Spring Core
    PropertyPlaceholderHelper.replacePlaceholders
    1. org.springframework.util.PropertyPlaceholderHelper.parseStringValue(PropertyPlaceholderHelper.java:173)
    2. org.springframework.util.PropertyPlaceholderHelper.parseStringValue(PropertyPlaceholderHelper.java:161)
    3. org.springframework.util.PropertyPlaceholderHelper.replacePlaceholders(PropertyPlaceholderHelper.java:125)
    3 frames
  3. Spring Beans
    PlaceholderConfigurerSupport.doProcessProperties
    1. org.springframework.beans.factory.config.PropertyPlaceholderConfigurer$PlaceholderResolvingStringValueResolver.resolveStringValue(PropertyPlaceholderConfigurer.java:258)
    2. org.springframework.beans.factory.config.BeanDefinitionVisitor.resolveStringValue(BeanDefinitionVisitor.java:282)
    3. org.springframework.beans.factory.config.BeanDefinitionVisitor.resolveValue(BeanDefinitionVisitor.java:204)
    4. org.springframework.beans.factory.config.BeanDefinitionVisitor.visitPropertyValues(BeanDefinitionVisitor.java:141)
    5. org.springframework.beans.factory.config.BeanDefinitionVisitor.visitBeanDefinition(BeanDefinitionVisitor.java:82)
    6. org.springframework.beans.factory.config.PlaceholderConfigurerSupport.doProcessProperties(PlaceholderConfigurerSupport.java:206)
    6 frames