I am trying to deploy a simple java application consisting of a Java class and a servlet. I created and defined the "web.xml". But when i try to run "Run Packaging" it says "Could not find the main class. Program exits". What could be the problem?
Even if i add a main function (just for checking though), it seems to show the same error.