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

Stack Overflow | Anzar | 9 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

    Spring Cloud Config client not loading the value from config server

    Stack Overflow | 9 months ago | Anzar
    java.lang.IllegalArgumentException: Could not resolve placeholder 'DATABASE_NAME' in string value "${DATABASE_NAME}"
  2. 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}"
  3. 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"
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Failed to load context when running tests in STS

    Stack Overflow | 2 years ago | hudi
    java.lang.IllegalStateException: Failed to load ApplicationContext
  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. Casper 1 times, last 3 weeks ago
  2. Andreas Häber 2 times, last 1 month ago
  3. mauritius 1 times, last 5 months ago
  4. Kawada 8 times, last 1 year 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