首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > JAVA > Java Web开发 >

struct2.0入门有关问题

2012-01-19 
struct2.0入门问题我用的是jb2006Tomcat5.5启动工程的时候出现如下:错误。导制用不了action信息:Unabletolo

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了怎么还用那么老的?建议用新包(当然这个与这个问题没有关系).

热点排行