Here is my POM.xml file:
1.6
3.2.2.RELEAS
org.springframework.beans.factory.support.beannamegenerator , was my error. I did a maven clean, maven build etc., which was not useful and I found that my .m2 folder is not present in my eclipse installation folder. I found the .m2 folder out side of the eclipse folder which I pasted in the eclipse folder and then in eclipse I happened to do this :-
Open configure build path maven Java EE integration Select Maven archiver generates files under the build directory apply and close
My project is up and running now.