+1  A: 

I loaded this in Intellij Idea and saw no red for name attributes, including uncommenting the configLocation property.

You probably want to check that you've got the correct versions of the libraries configured in Intellij, as the name attribute appears to be not matching fields in library classes, particularly the AnnotationSessionFactoryBean that you're using.

Don Roby