2013/02/15

Spring 3.1+ Environment properties not being resolved when using dollar-notation placeholders in bean properties? Read this :-)

So after spelunking through the Spring source, I found out that it was my fault, of course. Why:
  1. I needed a in my spring XML, even with nothing else, just to tell Spring to look for ${...}.
  2. My spring schema version was on 2.5, which of course doesn't have the global Environment stuff and assumes you don't want it.
This lesson brought to you by many tram rides and a sleeping toddler.

No comments: