struct2.0入门问题
我用的是jb2006 Tomcat5.5 启动工程的时候出现如下:错误。
导制用不了 action
信息: Unable to locate configuration file xwork.xml, skipping
2007-8-23 19:10:41 com.opensymphony.xwork2.config.providers.InterceptorBuilder constructInterceptorReference
警告: Unable to load config class org.apache.struts2.jsf.FacesSetupInterceptor at interceptor - jar:file:/D:/struts2.0/webRoot/WEB-INF/lib/struts2-core-2.0.0-SNAPSHOT.jar!/struts-default.xml:56:97 probably due to a missing jar, which might be fine if you never plan to use the jsfSetup interceptor
2007-8-23 19:10:41 com.opensymphony.xwork2.config.providers.InterceptorBuilder constructInterceptorReference
警告: Unable to load config class org.apache.struts2.jsf.RestoreViewInterceptor at interceptor - jar:file:/D:/struts2.0/webRoot/WEB-INF/lib/struts2-core-2.0.0-SNAPSHOT.jar!/struts-default.xml:57:100 probably due to a missing jar, which might be fine if you never plan to use the jsfRestore interceptor
------解决方案--------------------包不对
------解决方案--------------------如果你用不到jsf,将所有有关jsf的包都删掉,然后将tomcat目录下的work目录清掉。再看看。
另外strus2 都到2.0.9了怎么还用那么老的?建议用新包(当然这个与这个问题没有关系).