struts2中控制台提示java.lang.ClassNotFoundException: org.apache.struts2.dispatcher.FilterDispatcher

来源:百度知道 编辑:UC知道 时间:2024/05/18 02:42:46
我导入了STRUTS2-CORE包啊。为什么还有错那

看看struts.xml是不是没有把action的名字配置正确,如果整合了spring,再看看applicationContext.xml中id,class是否配置正确

commons-fileupload
commons-io
也必须导入

要导入五个基本包:
commons-logging-api-1.1.jar
freemarker-2.3.8.jar
ognl-2.6.11.jar
struts2-core-2.0.12.jar
xwork-2.0.6.jar
或更高版本的。