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

前端 未结 8 1084
花落未央
花落未央 2020-12-06 07:16

This is my web.xml Code,While running I am getting error like this..How to resolve this?

\"SEVERE: Exception starting filter Struts java.lang.ClassNotFoundEx

8条回答
  •  孤城傲影
    2020-12-06 07:53

    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
    

    Version Notes 2.5

提交回复
热议问题