AbstractPropertyResolver.doResolvePlaceholders() has thrown an IllegalArgumentException

java.lang.IllegalArgumentException
Javadoc
Thrown to indicate that a method has been passed an illegal or inappropriate argument. @author unascribed @since JDK1.0
at org.springframework.util.PropertyPlaceholderHelper.parseStringValue
(source)
at org.springframework.util.PropertyPlaceholderHelper.replacePlaceholders
(source)
at org.springframework.core.env.AbstractPropertyResolver.doResolvePlaceholders
(source)
at org.springframework.core.env.AbstractPropertyResolver.resolveRequiredPlaceholders
(source)
at org.springframework.core.env.AbstractPropertyResolver.resolveNestedPlaceholders
(source)
at org.springframework.core.env.PropertySourcesPropertyResolver.getProperty
(source)
at org.springframework.core.env.PropertySourcesPropertyResolver.getProperty
(source)
at org.springframework.core.env.AbstractEnvironment.getProperty
(source)
at org.springframework.context.support.PropertySourcesPlaceholderConfigurer$1.getProperty
at org.springframework.context.support.PropertySourcesPlaceholderConfigurer$1.getProperty
at org.springframework.core.env.PropertySourcesPropertyResolver.getProperty
(source)
at org.springframework.core.env.PropertySourcesPropertyResolver.getPropertyAsRawString
(source)
at org.springframework.core.env.AbstractPropertyResolver$1.resolvePlaceholder
at org.springframework.util.PropertyPlaceholderHelper.parseStringValue
(source)
at org.springframework.util.PropertyPlaceholderHelper.replacePlaceholders
(source)
at org.springframework.core.env.AbstractPropertyResolver.doResolvePlaceholders
(source)
15 frames hidden

Typical Exception Messages

  1. Could not resolve placeholder 'project.version' in string value "${project.version}"
  2. Could not resolve placeholder 'projeto.pdv.database.jdbc.url' in string value "${projeto.pdv.database.jdbc.url}"
  3. Could not resolve placeholder 'POLARIS_SITE_ID' in string value "${POLARIS_SITE_ID}"
  4. Could not resolve placeholder 'stubrunner.runningstubs.myDependency-contracts.port' in string value "{'get_myDependency':'http://localhost:${stubrunner.runningstubs.myDependency-contracts.port}/myDependency/s2s/v1/v1/myDependencys/{myDependencyId}', 'post_myDependency': 'http://localhost:${stubrunner.runningstubs.myDependency-contracts.port}/myDependency/s2s/v1/v1/myDependencys', 'delete_myDependency':'http://localhost:${stubrunner.runningstubs.myDependency-contracts.port}/myDependency/s2s/v1/v1/myDependencys/{myDependencyId}' }"
  5. Could not resolve placeholder 'spring.embedded.kafka.brokers' in value "${spring.embedded.kafka.brokers}"
  6. Could not resolve placeholder 'version' in value "${version}"
  7. Could not resolve placeholder 'MESSENGER_APP_SECRET' in string value "${MESSENGER_APP_SECRET}"
  8. Could not resolve placeholder 'CORE_TIMEZONE_FOR_TIMESTAMPS' in value "${CORE_TIMEZONE_FOR_TIMESTAMPS}"
  9. Could not resolve placeholder '盲陆聽莽職聞tomcat猫路炉氓戮聞' in string value "${盲陆聽莽職聞tomcat猫路炉氓戮聞}/webapps/patch-manager-static"
  10. Could not resolve placeholder 'DATAGATE_MONGO_USER' in value "${DATAGATE_MONGO_USER}"

Origin

PropertySourcesPropertyResolver.getPropertyAsRawString() has thrown an IllegalArgumentException

java.lang.IllegalArgumentException
11 frames hidden
org.springframework.core.env.PropertySourcesPropertyResolver.getPropertyAsRawString
6Web pages

Similar

Specific cases

External results for this pattern (6)

  1. samko635via GitHub1 month ago
    Could not resolve placeholder 'MESSENGER_APP_SECRET' in string value "${MESSENGER_APP_SECRET}"
    Show stack trace
  2. tarovia Stack Overflow3 months ago
    Could not resolve placeholder 'spring.embedded.kafka.brokers' in value "${spring.embedded.kafka.brokers}"
    Show stack trace
  3. default-errorvia GitHub4 months ago
    Could not resolve placeholder 'DATAGATE_MONGO_USER' in value "${DATAGATE_MONGO_USER}"
    Show stack trace
  4. JessonYuevia GitHub7 months ago
    Could not resolve placeholder '盲陆聽莽職聞tomcat猫路炉氓戮聞' in string value "${盲陆聽莽職聞tomcat猫路炉氓戮聞}/webapps/patch-manager-static"
    Show stack trace
  5. jot-hubvia GitHub1 year ago
    Could not resolve placeholder 'stubrunner.runningstubs.myDependency-contracts.port' in string value "{'get_myDependency':'http://localhost:${stubrunner.runningstubs.myDependency-contracts.port}/myDependency/s2s/v1/v1/myDependencys/{myDependencyId}', 'post_myDependency': 'http://localhost:${stubrunner.runningstubs.myDependency-contracts.port}/myDependency/s2s/v1/v1/myDependencys', 'delete_myDependency':'http://localhost:${stubrunner.runningstubs.myDependency-contracts.port}/myDependency/s2s/v1/v1/myDependencys/{myDependencyId}' }"
    Show stack trace
  6. Could not resolve placeholder 'project.version' in string value "${project.version}"
    Show stack trace