Mohin Raffik wrote:
java.lang.Error: Unresolved compilation problems:
The type javax.servlet.http.HttpServletRequest cannot be resolved. It is indirectly referenced from required .class files
The method getRequest() from the type ServletActionContext refers to the missing type HttpServletRequest
An unresolved compilation error, is exactly that... you have some compile errors in your code. No doubt that you used an
IDE that generates class files even with errors, as the Sun
java compiler doesn't allow that.
You need to go back to your build environment and fix all the compile errors first. Running code with compile errors lead to issues like this.
Henry