See https://github.com/spring-projects/spring-boot/commit/8f102aee6862b92a8e4c5db7a30527db05a2b183#r40196934
Comment From: wilkinsona
Could that be an IDE bug? Is the error level not meant to result in it being flagged as an error in the IDE so you know you have to change or remove it?
Comment From: bclozel
I'm getting the same behavior in Intellij IDEA:
Our reference documentation says:
The level of deprecation, which can be either warning (the default) or error. When a property has a warning deprecation level, it should still be bound in the environment. However, when it has an error deprecation level, the property is no longer managed and is not bound.
So as a matter of fact, the "error" level is correct here.