title: Spring Boot 2.5.6 catch 22 with spring.profiles.active
body: <p>I am updating a web app from Spring Boot 2.2.4 to 2.5.6 and have used Open Rewrite to handle the tedium. The run configuration in IntelliJ has <code>spring-boot:run -Dspring.profiles.active=local -f pom.xml</code> in the command line (this has been working with 2.2.4). After adding a try/catch to main, to actually learn why I kept getting exit code 1 with no additional info, I found <code>java.lang.IllegalArgumentException: Could not resolve placeholder 'spring.profiles.active' in value &quot;classpath:application-${spring.profiles.active}.properties&quot;</code> to be the root issue.</p>
  <p>Apparently passing <code>local</code> on the command line for <code>spring.profiles.active</code> is now ignored… So, I added it to <code>application.yml</code> which gives me a message about how it is invalid to use <code>spring.profiles.active</code>. I found that the currently active profile should now be in <code>config.activate.on-profile.active</code> so I switched to that and then did a project wide search for <code>spring.profiles.active</code> and replaced <em>every single</em> instance with <code>config.activate.on-profile.active</code>.</p>
  <p>I ran the project again and again got the message that it could resolve the placeholder <code>spring.profiles.active</code>! I can't for the life of me figure out where that placeholder is coming from since it doesn't exist anywhere in the project now according to IntelliJ, not even in the ReadMe file!</p>
  <p>Is there some secret place I need to look to purge this old placeholder from existence?</p>