you are Genius, My problem has been resolved but how did you find the solution Because the problem is showing com/sun/org/apache/xml/security/Init Security type issue but the problem in this jar xmlsec.jar.
I would rather like to continue to discuss on this topic than to create a new post. I hope that is allowed. Because this was precisely the problem that I was facing.
I wish to know as to why is it that If i run the application as a simple Java application then I am able to run the application through eclipse but If I wish to run the same code as a web application I have to copy all the required jar files into the Tomcat container. Is it not the task of eclipse or Tomcat to pick up the dependent libraries from the classpath rather than for us to manually put it there??
Or Am I missing some configuration in eclipse.