Add Tip noting the required PropertySourcesPlaceholderConfigurer bean definition when using Spring's @Value annotation and Spring Boot is not in play.
This commit is contained in:
@@ -402,6 +402,10 @@ class MySpringSessionConfiguration {
|
||||
}
|
||||
----
|
||||
|
||||
TIP: Spring Boot will resolve `@Value` annotation property placeholder values or SpEL Expressions automatically.
|
||||
However, if you are not using Spring Boot, then you must explicitly register a static
|
||||
`PropertySourcesPlaceholderConfigurer` bean definition.
|
||||
|
||||
The choice is yours.
|
||||
|
||||
[[httpsession-gemfire-serialization]]
|
||||
|
||||
Reference in New Issue
Block a user