I created a sample struts 2 project & junit test case by referring the below link.
http://self-learning-java-tutorial.blogspot.com.au/2015/04/struts2-junit-integ
The error in eclipse is resolved after adding the classes folder in the build path.
But after I faced a new Issue during maven build test execution.