org.apache.struts2.impl.StrutsActionProxy.getErrorMessage(StrutsActionProxy.java:69)
2013-09-27 18:58
531 查看
今天练习struts2,在提交标签的时候出现了下列错误
ype Exception report
message
description The server encountered an internal error that prevented it from fulfilling this request.
exception
note The full stack trace of the root cause is available in the Apache Tomcat/7.0.42 logs.
原来是在创建struts配置文件的时候把名字写成了 struts2.xml 修改后正常运行,还有 struts.xml是放在src目录下的
ype Exception report
message
description The server encountered an internal error that prevented it from fulfilling this request.
exception
java.lang.NullPointerException org.apache.struts2.impl.StrutsActionProxy.getErrorMessage(StrutsActionProxy.java:69) com.opensymphony.xwork2.DefaultActionProxy.prepare(DefaultActionProxy.java:185) org.apache.struts2.impl.StrutsActionProxy.prepare(StrutsActionProxy.java:63) org.apache.struts2.impl.StrutsActionProxyFactory.createActionProxy(StrutsActionProxyFactory.java:39) com.opensymphony.xwork2.DefaultActionProxyFactory.createActionProxy(DefaultActionProxyFactory.java:58) org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:501) org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:432)
note The full stack trace of the root cause is available in the Apache Tomcat/7.0.42 logs.
原来是在创建struts配置文件的时候把名字写成了 struts2.xml 修改后正常运行,还有 struts.xml是放在src目录下的
相关文章推荐
- struts2 的web.xml 配置文件报错org.apache.struts2.impl.StrutsActionProxy.getErrorMessage(StrutsActionProxy.java:69)
- java.lang.ClassCastException: org.apache.struts.action.ActionMessage 错误
- java.lang.ClassCastException: org.apache.struts.action.ActionMessage 错误
- 配置完struts,tomcat运行错误java.lang.ClassNotFoundException: org.apache.struts.action.ActionServlet
- J2EE开发中遇见的Exception(java.lang.ClassNotFoundException: org.apache.struts.action.ActionServlet)
- cannot find message resources under key org.apache.struts.action.message 问题解决
- Cannot find message resources under key org.apache.struts.action.MESSAGE
- org.apache.struts.config.FormBeanConfig.createActionForm(FormBeanConfig.java:289)
- 新建个项目,显示long类型字段的时候报错:Cannot find message resources under key org.apache.struts.action.MESSAGE
- Cannot find message resources under key org.apache.struts.action.MESSAGE
- struts2 action空指针异常 org.apache.struts2.ServletActionContext java.lang.NullPointerException
- struts2 的错误信息: java.net.UnknownHostException: struts.apache.org
- org.apache.struts2.json.JSONException: java.lang.IllegalAccessException: Class org.apache.struts2.js
- Cannot find message resources under key org.apache.struts.action.MESSAGE
- Struts Cannot find message resources under key org.apache.struts.action.MESSAGE
- 解决:Cannot find message resources under key org.apache.struts.action.MESSAGE的 方法
- 在做成绩查询时出现Cannot find message resources under key org.apache.struts.action.MESSAGE
- Cannot find message resources under key org.apache.struts.action.MESSAGE
- java开源框架集成常见错误之spring2.5中没有org.springframework.web.struts.DelegatingActionProxy ,使得Action不能注入到spring中
- org.apache.struts.action.ActionMessage cannot be cast to org.apache.struts.action.ActionError