I am trying to make a small login application in struts 2. My web.xml:
Got similar problem while starting strut2 project.
I was using the latest jars. Web.xml has version 3.0. And it does not contains the proper dispatcher in its configuration. I added the correct dispatcher filter i.e.
org.apache.struts2.dispatcher.FilterDispatcher
instead of
org.apache.struts2.dispatcher.filter.StrutsPrepareAndExecuteFilter
or
org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.
it worked greatly.