异常:
java.lang.NoSuchMethodException: No such accessible method: addActionConfig() on object: org.apache.struts.config.impl.ModuleConfigImpl
解决:
George Cao
hi, It may be helpful if you can remove struts.jar from the app-web-server(tomcat or others)/webapps/sample-struts-liferay-portlet/WEB-INF/lib. To do this: 1) turn off your server first 2) go to remove struts.jar from the folder above 3) restart your server again I guess, as someone else has suggested, the problem is likely related to struts version. Any way try that good luck
异常:
2009-05-27 08:08:19 StandardContext[/exam]Servlet /exam threw load() exception javax.servlet.UnavailableException: Parsing error processing resource path
页面中报404的错误,显示这个应用不可用
解决:在struts-config.xml中使用的配置模板不同,使用的是struts1.1,结果配置中用的是1.2的模板,也就是这里
<!DOCTYPE struts-config PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 1.2//EN" "http://jakarta.apache.org/struts/dtds/struts-config_1_2.dtd">
