PropertySourcesPropertyResolver.getProperty() 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.core.env.PropertySourcesPropertyResolver.getProperty
(source)

Typical Exception Messages

  1. Cannot convert value [UTF-8] from source type [String] to target type [Charset]
  2. Cannot convert value [VAR=hello] from source type [String] to target type [Map]
  3. Cannot convert value [classpath:configFile.xml] from source type [String] to target type [Resource]

Specific cases

External results for this pattern (3)

  1. snicollvia GitHub2 days ago
    Cannot convert value [UTF-8] from source type [String] to target type [Charset]
    Show stack trace
  2. Forge_7via Stack Overflow1 year ago
    Cannot convert value [classpath:configFile.xml] from source type [String] to target type [Resource]
    Show stack trace
  3. FGregvia Stack Overflow1 year ago
    Cannot convert value [VAR=hello] from source type [String] to target type [Map]
    Show stack trace