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

前端 未结 8 1088
花落未央
花落未央 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:39

    This will occur because the correct version of the struts2-core.jar is not on the lib path. Please check your lib directory and ensure that you have the right version of struts2-core.jar.

    If you have the jar in your lib folder, then you will need to ensure that you are including the correct project library when you deploy your code to your application container. If the Struts 2 Project Library files are not included when you deploy, this error will also occur.

提交回复
热议问题