



为什么运行不出来啊?我是按书上来的到底哪里有错啊?谢谢各位指点啦!
还有就是一编译就出来这个问题
。
这个是编译以后的错误
web.xml
struts2
org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter
贴出错误信心出来看看。
应该是struts2启动方式的类不对吧,你可以试试1楼的方式
你可以摁住ctrl 看看过滤器配置的class存在不存在啊
把struts过滤器 换成这个org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter 试试看