永发信息网

运行Tomcat,首页能进入,输入帐号密码后出现如下问题:

答案:1  悬赏:80  手机版
解决时间 2021-06-01 11:49
  • 提问者网友:我没有何以琛的痴心不悔
  • 2021-06-01 06:19
HTTP Status 500 -

type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

javax.servlet.ServletException: Filter execution threw an exception

root cause

java.lang.Error: Unresolved compilation problems: The import cn.gov.hnst.osta.stas.utils.SystemParameter cannot be resolved SystemParameter cannot be resolved cn.gov.hnst.osta.stas.actions.system.LoginAction.<init>(LoginAction.java:22) sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) java.lang.reflect.Constructor.newInstance(Unknown Source) java.lang.Class.newInstance0(Unknown Source) java.lang.Class.newInstance(Unknown Source) com.opensymphony.xwork2.ObjectFactory.buildBean(ObjectFactory.java:119) com.opensymphony.xwork2.ObjectFactory.buildBean(ObjectFactory.java:150) com.opensymphony.xwork2.ObjectFactory.buildBean(ObjectFactory.java:139) com.opensymphony.xwork2.ObjectFactory.buildAction(ObjectFactory.java:109) com.opensymphony.xwork2.DefaultActionInvocation.createAction(DefaultActionInvocation.java:288) com.opensymphony.xwork2.DefaultActionInvocation.init(DefaultActionInvocation.java:388) com.opensymphony.xwork2.DefaultActionProxy.prepare(DefaultActionProxy.java:187) org.apache.struts2.impl.StrutsActionProxy.prepare(StrutsActionProxy.java:61) org.apache.struts2.impl.StrutsActionProxyFactory.createActionProxy(StrutsActionProxyFactory.java:39) com.opensymphony.xwork2.DefaultActionProxyFactory.createActionProxy(DefaultActionProxyFactory.java:47) org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:478) org.apache.struts2.dispatcher.ng.ExecuteOperations.executeAction(ExecuteOperations.java:77) org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.doFilter(StrutsPrepareAndExecuteFilter.java:91)

note The full stack trace of the root cause is available in the Apache Tomcat/6.0.24 logs.

Apache Tomcat/6.0.24

 

怎么办啊?出现这个问题?是不是包没有导入?

最佳答案
  • 五星知识达人网友:怙棘
  • 2021-06-01 07:18

在HTTP协议中,HTTP Status 500 是服务器内部错误。
从错误信息中可以看到,你要连接的WEB服务器,是基于免费软件Apache Tomcat/5.0.28 来实现的,是JAVA形式的WEB服务器。
错误的直接现象是,JSP有错。没法编译,或是某种原因环境被破坏,使的JAVA的class找不到。
根本原因,可有以下可能性:
1。网站的JSP有错。
2。在表示的页面中,你输入了系统预想之外的内容,使的系统无法对应而崩溃。


--------------------------------来自百度

我要举报
如以上回答内容为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
点此我要举报以上问答信息
大家都在看
推荐资讯