HTTP Status 404 - There is no Action mapped for namespace / and action name schemeList.
2015-04-16 15:35
435 查看
问题描述:在J-Hi平台中建立了一个“计划管理”项目,在用J-Hi平台生成项目后,在浏览器中登陆进入系统后,打开“计划添加时”出现下面错误提示页面:
从错误提示中可以看出,是“schemeList”找不到,而“schemeList”是配置在“src/struts-planmanage.xml”里面的:
那么就可以推断出事配置文件出了问题。事实上:项目启动后,会自动加载“struts.xml”配置文件,而若是struts.xml文件中没有加载struts-planmanage.xml文件的话,
就不可能找到schemeList。所以应该在struts.xml 中加上加载struts-planmanage.xml的语句。
修改完struts.xml文件后,重启服务,就没问题了。
从错误提示中可以看出,是“schemeList”找不到,而“schemeList”是配置在“src/struts-planmanage.xml”里面的:
那么就可以推断出事配置文件出了问题。事实上:项目启动后,会自动加载“struts.xml”配置文件,而若是struts.xml文件中没有加载struts-planmanage.xml文件的话,
就不可能找到schemeList。所以应该在struts.xml 中加上加载struts-planmanage.xml的语句。
修改完struts.xml文件后,重启服务,就没问题了。
相关文章推荐
- HTTP Status 404 There is no Action mapped for namespace / and action name
- Struts2框架中HTTP Status 404 There is no Action mapped for namespace / and action name
- ssh整合DWR的时候报 HTTP Status 404 - There is no Action mapped for namespace / and action name bookInfo.
- HTTP Status 404 There is no Action mapped for namespace / and action name
- 异常HTTP Status 404 There is no Action mapped for namespace / and action name
- Struts2:HTTP Status 404 - There is no Action mapped for namespace[ / ]and action name singleUpload.
- sruts2.1整合spring3.0抛出异常: Status 404 - There is no Action mapped for namespace /jsp and action name
- HTTP Status 404 - There is no Action mapped for namespace [/] and action name [login!welcome] associ
- HTTP Status 404 - There is no Action mapped for namespace [/] and action name [userAction!add] assoc
- HTTP Status 404 - There is no Action mapped for namespace [/] and action name [] associated with con
- 解决HTTP Status 404 - There is no Action mapped for namespace [/] and action name [] associated with c
- HTTP Status 404 - There is no Action mapped for namespace [/] and action name [BsMmWeb] associated w
- struts.xml不在默认位置,导致出现HTTP Status 404 - There is no Action mapped for namespace [/] and action name [
- Struts 2.5.2 HTTP Status 404 - There is no Action mapped for namespace [/] and action name [regist_A
- HTTP Status 404 - There is no Action mapped for namespace [/] and action name [hello] associated wit
- HTTP Status 404 - There is no Action mapped for namespace /jsp and action name login. type Status re
- HTTP Status 404 - There is no Action mapped for namespace /jsp and action
- HTTP Status 404 - There is no Action mapped for namespace [/] 访问不到action
- There is no Action mapped for namespace / and action name toList.
- SSH整合DWR时报HTTP Status 404 - There is no Action mapped for namespace / and action name dwr.