struts2 访问action时总是404错误

2025-05-17 20:04:50
推荐回答(4个)
回答1:

首先检查你的struts的jar包是不是有五个!
还有就是你的struts.xml文件是否配置正确!
最好是把代码贴出来看看!

这样看你的异常好象是包出了问题!

回答2:

Unable to load bean: type: class:com.opensymphony.xwork2.ObjectFactory - bean - jar:file:/D:/tomcat6/webapps/purchase/WEB-INF/lib/struts2-core-2.1.6.jar!/struts-default.xml:29:72

回答3:

是你的struts文件配置错误.

回答4:

没代码怎么看