I don't know if anyone still has this problem but this is what i did-
change your package name in "helloaction.java" class
Most of the people, including me just write how a tutorial shows so after hours of debugging i finally got the problem.
package com.tutorialspoint.struts2;
I had written the above line in my action(.java) class. which made a package "com.tutorialspoint" in src folder. But the syntax actually means there is a package tutorialspoint inside com package. So what basically the tutorial had was
src->com->tutorialspoint->helloaction.java
So after getting no solution from all the search i changed the name of my package to "practice" in both .java class & struts.xml and it worked fine.
src->practice->helloaction.java
Hopefully if anyone was doing the same mistake like me...it helped. It may not be the solution but it worked for me when everything else didn't.