I must be misunderstanding something here (common occurence, that). But, if I keep my application-context.xml as in my first post, and do what you say, I get a
However, for some reason I really can't understand, this doesn't happen if I use
org.springframework.beans.factory.BeanNotOfRequiredTypeException: Bean named 'propPlaceHolder' must be of type [java.util.Properties], but was actually of type [org.springframework.beans.factory.config.PropertyPlaceholderConfigurer]
It then just gives me the property I ask for, but with the placeholder unresolved.
ApplicationContext context = (ApplicationContext) application.getAttribute("org.springframework.web.context.WebApplicationContext.ROOT");
Properties springUtilProps = context.getBean("appProperties", Properties.class);