Skip to content

Conversation

@mmoayyed
Copy link
Contributor

Spring Boot 2.7 RC1, on startup, issues the following warning:

The use of configuration keys that have been renamed was found in the environment: Property source 'devtools': Key: spring.mustache.cache Replacement: spring.mustache.servlet.cache Each configuration key has been temporarily mapped to its replacement for your convenience. To silence this warning, please update your configuration to use the new keys. 

As the message suggests, this seems to be issued by the "DevTools" property source, and spring.mustache.cache should be replaced with spring.mustache.servlet.cache, to avoid configuration warnings on startup.

`spring.mustache.cache` should be replaced with `spring.mustache.servlet.cache`, to avoid configuration warnings on startup.
@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Apr 22, 2022
@bclozel bclozel added type: enhancement A general enhancement and removed status: waiting-for-triage An issue we've not yet triaged labels Apr 22, 2022
@bclozel bclozel added this to the 2.7.0 milestone Apr 22, 2022
@bclozel
Copy link
Member

bclozel commented Apr 22, 2022

See #30273

@snicoll snicoll added type: bug A general bug and removed type: enhancement A general enhancement labels Apr 23, 2022
@wilkinsona wilkinsona changed the title Update spring.mustache.cache property to match replacement DevTools sets deprecated spring.mustache.cache property Apr 25, 2022
@wilkinsona wilkinsona self-assigned this Apr 25, 2022
wilkinsona pushed a commit that referenced this pull request Apr 25, 2022
`spring.mustache.cache` should be replaced with `spring.mustache.servlet.cache`, to avoid configuration warnings on startup when using the properties migrator. See gh-30774
@wilkinsona
Copy link
Member

Thanks very much, @mmoayyed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: bug A general bug

5 participants