解決java.lang.ClassNotFoundException: org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter
有出現這個java.lang.ClassNotFoundException: org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter 問題的兄弟 可以將struts2 需要的jar包 copy一份到 tomcat里的lib下。。實測好用
2015-11-10
您好,Jar一般都會放到項目里引用,當然放到Tomcat也行。
2015-12-18
謝謝。當時學的比較淺,現在知道把包放tomcat下不太好了。放進WEB-INF/lib下就好了