SEVERE: Exception starting filter struts2 java.lang.ClassNotFoundException: org.apache.struts2.dispatcher.FilterDispatcher

后端 未结 13 588
一生所求
一生所求 2020-12-16 00:56

I am trying to make a small login application in struts 2. My web.xml:



        
13条回答
  •  失恋的感觉
    2020-12-16 01:10

    If you are using Struts2 version 2.5 you need to change from org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter to org.apache.struts2.dispatcher.filter.StrutsPrepareAndExecuteFilter. See:

    java.lang.ClassNotFoundException: org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter in web.xml

提交回复
热议问题