java.lang.ClassNotFoundException: org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter when starting Simple Struts2 Application

后端 未结 3 1498
醉酒成梦
醉酒成梦 2020-11-27 22:05

I am trying to run a simple Struts2 application but it always throw the following exception:

java.lang.ClassNotFoundException: org.apache.struts2.dispatcher.         


        
3条回答
  •  一生所求
    2020-11-27 22:43

    I think you specified like this

    
        org.apache.struts
        struts2-core
        X.X.X.X
    
    

    try to add

    
         org.apache.struts
         struts2-core
         2.1.6
        
    

提交回复
热议问题