Fixes #40 - Error message with Spring 4