java.lang.ClassNotFoundException: org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuterFilter

前端 未结 4 1552
借酒劲吻你
借酒劲吻你 2021-01-03 06:05

I copied all struts2 jars to the WEB-INF/lib folder and the struts.xml file is as shown below:


         


        
4条回答
  •  甜味超标
    2021-01-03 06:43

    It happened with me, and I solve it by recreating the artifacts from Intellij settings. If you use Intellij, you need to recreate the Artifacts for your web project again.

    • Go to File --> Project structure
    • Select Artifacts from the left tab.
    • Remove the current artifacts by select the artifacts and click on (-) button at the top of your Artifacts.
    • Add new artifacts, first war exploded then war archive.
    • Enjoy.

    enter image description here

提交回复
热议问题