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: Servlet execution threw an exception
root cause
java.lang.Error: Unresolved compilation problems:
The import sun.text.CompactShortArray cannot be resolved
TResourceId cannot be resolved to a type
TResourceId cannot be resolved to a type
The method setLocalname(String) is undefined for the type TResource
TResourceId cannot be resolved to a type
TResourceId cannot be resolved to a type
The method setLocalname(String) is undefined for the type TResource
The method setTClass(TClass) is undefined for the type TInstancevalueId
The method setDescriptions(String) is undefined for the type TInstancevalue
dao.TResourceServiceDAO.(TResourceServiceDAO.java:9)
com.yourcompany.struts.action.UserLoginAction.execute(UserLoginAction.java:96)
org.apache.struts.chain.commands.servlet.ExecuteAction.execute(ExecuteAction.java:58)
org.apache.struts.chain.commands.AbstractExecuteAction.execute(AbstractExecuteAction.java:67)
org.apache.struts.chain.commands.ActionCommandBase.execute(ActionCommandBase.java:51)
org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:190)
org.apache.commons.chain.generic.LookupCommand.execute(LookupCommand.java:304)
org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:190)
org.apache.struts.chain.ComposableRequestProcessor.process(ComposableRequestProcessor.java:283)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:462)
javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
note The full stack trace of the root cause is available in the Apache Tomcat/6.0.13 logs.
________________________________________
Apache Tomcat/6.0.13
请高手指点!谢谢!
项目中,src中的com.yourcompany.struts标记有错,数据库连接的java文件中显示导入包import sun.text.CompactShortArray.Iterator;有错
我已将SQL Server 2000的驱动jar包放在webroot/web-inf下的lib中了,并且已升级到sp4