java.lang.IllegalArgumentException: Could not resolve placeholder 'DATABASE_NAME' in string value "${DATABASE_NAME}"

Stack Overflow | Anzar | 4 months ago
  1. 0

    Spring Cloud Config client not loading the value from config server

    Stack Overflow | 4 months ago | Anzar
    java.lang.IllegalArgumentException: Could not resolve placeholder 'DATABASE_NAME' in string value "${DATABASE_NAME}"
  2. 0

    apache-archiva-2.0.0.war Invalid bean definition with name 'jcr-config' defined in URL

    Stack Overflow | 3 years ago
    java.lang.IllegalArgumentException: Could not resolve placeholder 'appserver.base' in string value "${appserver.base}/conf/repository.xml"
  3. 0

    Failed to load context when running tests in STS

    Stack Overflow | 2 years ago | hudi
    java.lang.IllegalStateException: Failed to load ApplicationContext
  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

    load external config file in spring batch admin

    Stack Overflow | 2 years ago | youtix
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jobConfiguration': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private java.lang.String org.springframework.batch.admin.sample.job.JobConfiguration.pathToFiles; nested exception is java.lang.IllegalArgumentException: Could not resolve placeholder 'folder.input.files' in string value "${folder.input.files}"

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

    at org.springframework.util.PropertyPlaceholderHelper.parseStringValue()
  2. Spring Core
    PropertyPlaceholderHelper.replacePlaceholders
    1. org.springframework.util.PropertyPlaceholderHelper.parseStringValue(PropertyPlaceholderHelper.java:174)
    2. org.springframework.util.PropertyPlaceholderHelper.replacePlaceholders(PropertyPlaceholderHelper.java:126)
    2 frames