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

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

    Stack Overflow | 10 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 | 3 months 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

    Could not resolve placeholder in two spring xml context

    Stack Overflow | 2 years ago | Пуя
    java.lang.IllegalArgumentException: Could not resolve placeholder 'host' in string value "${host}"
  6. 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'

  1. Andreas Häber 1 times, last 11 months ago
  2. Kawada 8 times, last 1 year ago
  3. Casper 1 times, last 2 weeks ago
  4. mauritius 1 times, last 4 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