JAVA代码提示,请高手解决下是什么问题

来源:百度知道 编辑:UC知道 时间:2024/06/30 07:33:19
action方法执行出错!
java.lang.RuntimeException: action方法执行出错! at com.hust.core.web.BaseAction.execute(BaseAction.java:102) at sun.reflect.GeneratedMethodAccessor404.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at com.opensymphony.xwork2.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:404) at com.opensymphony.xwork2.DefaultActionInvocation.invokeActionOnly(DefaultActionInvocation.java:267) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:229) at com.opensymphony.xwork2.interceptor.DefaultWorkflowInterceptor.doIntercept(DefaultWorkflowInterceptor.java:221) at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:86) at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224) at com.opensymphony.xwork2.DefaultActionInvocation$2.doPr

java.lang.RuntimeException: action方法执行出错!action配置出错!,出现404错误,我现在不知道你用的是什么框架,但是可以肯定的是配置文件出错了!要是你用的是strus框架,请检查configer.xml文件!当然,编译下,问题应该就会出现!

java.lang.RuntimeException: action方法执行出错! at com.hust.core.web.BaseAction.execute(BaseAction.java:102)

BaseAction.java:102
检查下什么问题
最好用MyEclipse编译器检测下

如果不使用excute方法的话,重命名execute方法。

仔细检查下!你用的是Struts2.0吧!
这个简单!

用个编译工具检测一下就大致问题在哪了.