Exception starting filter struts2
java.lang.ClassNotFoundException: org.apache.struts2.dispatcher.ng.filter.
StrutsPrepareAndExecuteFilter
刚给web.xml配置好,启动提示这个错误。
仔细检查,对应的类文件都是存在的。
后来发现,因为配置好有,手欠,按了ctrl+Shift+F
这样便在xml了出现了“ ”空格,所以报错了。
Exception starting filter struts2
java.lang.ClassNotFoundException: org.apache.struts2.dispatcher.ng.filter.
StrutsPrepareAndExecuteFilter
刚给web.xml配置好,启动提示这个错误。
仔细检查,对应的类文件都是存在的。
后来发现,因为配置好有,手欠,按了ctrl+Shift+F
这样便在xml了出现了“ ”空格,所以报错了。