I am trying to make a small login application in struts 2. My web.xml:
Being new to the Struts2 framework, I recently came across the same (or very similar) error. In my case I was using annotations within the Action class rather than the struts.xml file.
For example
@Action(value="/jsp/edit-file",
results={@Result(name="success",location="/jsp/edit-success.jsp"),
@Result(name="failure",location="/jsp/edit-failure.jsp")})
public String execute() { ... }
However when I changed the action value to include the *.action extension (see below) Struts would throw the "SEVERE: Exception starting filter struts2" error noted above.
@Action(value="/jsp/edit-file.action",
results={@Result(name="success",location="/jsp/edit-success.jsp"),
@Result(name="failure",location="/jsp/edit-failure.jsp")})
public String execute() { ... }
The cause of this error wasn't obvious as it didn't manifest itself immediately. Looking through the Tomcat localhost..log file I found the stacktrace for the error and was able to remedy the issue.