On running, my code, on terminal, it gives this error
Exception in thread \"main\" java.lang.RuntimeException: org.springframework.beans.factory.par
This issue arose because cxf-bundle JAR was not present in my classpath
You can get it from here: http://mvnrepository.com/artifact/org.apache.cxf/cxf-bundle/2.7.6 (the latest version).
I guess you don't have, in your classpath, the JAR containing the cxf schema Try to add it to your classpath