我编译JSP后,运行,发现有问题,好象是Documents的问题!请问XP中有Documents吗?如何安装和配置啊?我安装了TOMCAT了!网页显示如下:
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: Unable to compile class for JSP
Generated servlet error:
C:\Documents and Settings\qing\.netbeans\5.5\apache-tomcat-5.5.17_base\work\Catalina\localhost\webtest\org\apache\jsp\slic\frames\start_jsp.java:8: 软件包 com.documentum.fc.client 不存在
import com.documentum.fc.client.*;
^
Generated servlet error:
C:\Documents and Settings\qing\.netbeans\5.5\apache-tomcat-5.5.17_base\work\Catalina\localhost\webtest\org\apache\jsp\slic\frames\start_jsp.java:9: 软件包 com.documentum.fc.common 不存在
import com.documentum.fc.common.*;
^
An error occurred at line: 15 in the jsp file: /slic/frames/start.jsp
Generated servlet error:
C:\Documents and Settings\qing\.netbeans\5.5\apache-tomcat-5.5.17_base\work\Catalina\localhost\webtest\org\apache\jsp\slic\frames\start_jsp.java:111: 找不到符号
符号: 类 IDfClient
位置: 类 org.apache.jsp.slic.frames.start_jsp
IDfClient client = DfClient.getLocalClient();
^
An error occurred at line: 15 in the jsp file: /slic/frames/start.jsp
Generated servlet error:
C:\Documents and Settings\qing\.netbeans\5.5\apache-tomcat-5.5.17_base\work\Catalina\localhost\webtest\org\apache\jsp\slic\frames\start_jsp.java:111: 找不到符号
符号: 变量 DfClient
位置: 类 org.apache.jsp.slic.frames.start_jsp
IDfClient client = DfClient.getLocalClient();
^
An error occurred at line: 15 in the jsp file: /slic/frames/start.jsp
Generated servlet error:
C:\Documents and Settings\qing\.netbeans\5.5\apache-tomcat-5.5.17_base\work\Catalina\localhost\webtest\org\apache\jsp\slic\frames\start_jsp.java:112: 找不到符号
符号: 类 IDfLoginInfo
位置: 类 org.apache.jsp.slic.frames.start_jsp
IDfLoginInfo loginInfo = new DfLoginInfo();
^
An error occurred at line: 15 in the jsp file: /slic/frames/start.jsp
Generated servlet error:
C:\Documents and Settings\qing\.netbeans\5.5\apache-tomcat-5.5.17_base\work\Catalina\localhost\webtest\org\apache\jsp\slic\frames\start_jsp.java:112: 找不到符号
符号: 类 DfLoginInfo
位置: 类 org.apache.jsp.slic.frames.start_jsp
IDfLoginInfo loginInfo = new DfLoginInfo();
^
An error occurred at line: 15 in the jsp file: /slic/frames/start.jsp
Generated servlet error:
C:\Documents and Settings\qing\.netbeans\5.5\apache-tomcat-5.5.17_base\work\Catalina\localhost\webtest\org\apache\jsp\slic\frames\start_jsp.java:117: 找不到符号
符号: 类 IDfSession
位置: 类 org.apache.jsp.slic.frames.start_jsp
IDfSession dfcSession = client.newSession(docbase,loginInfo);
An error occurred at line: 15 in the jsp file: /slic/frames/start.jsp
Generated servlet error:
C:\Documents and Settings\qing\.netbeans\5.5\apache-tomcat-5.5.17_base\work\Catalina\localhost\webtest\org\apache\jsp\slic\frames\start_jsp.java:136: 找不到符号
符号: 类 DfException
位置: 类 org.apache.jsp.slic.frames.start_jsp
catch(DfException loginException) {
An error occurred at line: 15 in the jsp file: /slic/frames/start.jsp
Generated servlet error:
C:\Documents and Settings\qing\.netbeans\5.5\apache-tomcat-5.5.17_base\work\Catalina\localhost\webtest\org\apache\jsp\slic\frames\start_jsp.java:156: 找不到符号
符号: 类 IDfSession
位置: 类 org.apache.jsp.slic.frames.start_jsp
IDfSession dfcSession = (IDfSession) session.getAttribute("dfcSession");
An error occurred at line: 15 in the jsp file: /slic/frames/start.jsp
Generated servlet error:
C:\Documents and Settings\qing\.netbeans\5.5\apache-tomcat-5.5.17_base\work\Catalina\localhost\webtest\org\apache\jsp\slic\frames\start_jsp.java:156: 找不到符号
符号: 类 IDfSession
位置: 类 org.apache.jsp.slic.frames.start_jsp
IDfSession dfcSession = (IDfSession) session.getAttribute("dfcSession");
----------------解决方案--------------------------------------------------------
10 错误
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:510)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:375)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:368)
root cause
org.apache.jasper.JasperException: Unable to compile class for JSP
Generated servlet error:
C:\Documents and Settings\qing\.netbeans\5.5\apache-tomcat-5.5.17_base\work\Catalina\localhost\webtest\org\apache\jsp\slic\frames\start_jsp.java:8: 软件包 com.documentum.fc.client 不存在
import com.documentum.fc.client.*;
^
Generated servlet error:
C:\Documents and Settings\qing\.netbeans\5.5\apache-tomcat-5.5.17_base\work\Catalina\localhost\webtest\org\apache\jsp\slic\frames\start_jsp.java:9: 软件包 com.documentum.fc.common 不存在
import com.documentum.fc.common.*;
^
An error occurred at line: 15 in the jsp file: /slic/frames/start.jsp
Generated servlet error:
C:\Documents and Settings\qing\.netbeans\5.5\apache-tomcat-5.5.17_base\work\Catalina\localhost\webtest\org\apache\jsp\slic\frames\start_jsp.java:111: 找不到符号
符号: 类 IDfClient
位置: 类 org.apache.jsp.slic.frames.start_jsp
IDfClient client = DfClient.getLocalClient();
^
An error occurred at line: 15 in the jsp file: /slic/frames/start.jsp
Generated servlet error:
C:\Documents and Settings\qing\.netbeans\5.5\apache-tomcat-5.5.17_base\work\Catalina\localhost\webtest\org\apache\jsp\slic\frames\start_jsp.java:111: 找不到符号
符号: 变量 DfClient
位置: 类 org.apache.jsp.slic.frames.start_jsp
IDfClient client = DfClient.getLocalClient();
^
An error occurred at line: 15 in the jsp file: /slic/frames/start.jsp
Generated servlet error:
C:\Documents and Settings\qing\.netbeans\5.5\apache-tomcat-5.5.17_base\work\Catalina\localhost\webtest\org\apache\jsp\slic\frames\start_jsp.java:112: 找不到符号
符号: 类 IDfLoginInfo
位置: 类 org.apache.jsp.slic.frames.start_jsp
IDfLoginInfo loginInfo = new DfLoginInfo();
^
An error occurred at line: 15 in the jsp file: /slic/frames/start.jsp
Generated servlet error:
C:\Documents and Settings\qing\.netbeans\5.5\apache-tomcat-5.5.17_base\work\Catalina\localhost\webtest\org\apache\jsp\slic\frames\start_jsp.java:112: 找不到符号
符号: 类 DfLoginInfo
位置: 类 org.apache.jsp.slic.frames.start_jsp
IDfLoginInfo loginInfo = new DfLoginInfo();
^
An error occurred at line: 15 in the jsp file: /slic/frames/start.jsp
Generated servlet error:
C:\Documents and Settings\qing\.netbeans\5.5\apache-tomcat-5.5.17_base\work\Catalina\localhost\webtest\org\apache\jsp\slic\frames\start_jsp.java:117: 找不到符号
符号: 类 IDfSession
位置: 类 org.apache.jsp.slic.frames.start_jsp
IDfSession dfcSession = client.newSession(docbase,loginInfo);
An error occurred at line: 15 in the jsp file: /slic/frames/start.jsp
Generated servlet error:
C:\Documents and Settings\qing\.netbeans\5.5\apache-tomcat-5.5.17_base\work\Catalina\localhost\webtest\org\apache\jsp\slic\frames\start_jsp.java:136: 找不到符号
符号: 类 DfException
位置: 类 org.apache.jsp.slic.frames.start_jsp
catch(DfException loginException) {
An error occurred at line: 15 in the jsp file: /slic/frames/start.jsp
Generated servlet error:
C:\Documents and Settings\qing\.netbeans\5.5\apache-tomcat-5.5.17_base\work\Catalina\localhost\webtest\org\apache\jsp\slic\frames\start_jsp.java:156: 找不到符号
符号: 类 IDfSession
位置: 类 org.apache.jsp.slic.frames.start_jsp
IDfSession dfcSession = (IDfSession) session.getAttribute("dfcSession");
An error occurred at line: 15 in the jsp file: /slic/frames/start.jsp
Generated servlet error:
C:\Documents and Settings\qing\.netbeans\5.5\apache-tomcat-5.5.17_base\work\Catalina\localhost\webtest\org\apache\jsp\slic\frames\start_jsp.java:156: 找不到符号
符号: 类 IDfSession
位置: 类 org.apache.jsp.slic.frames.start_jsp
IDfSession dfcSession = (IDfSession) session.getAttribute("dfcSession");
^
10 错误
org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:84)
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:328)
org.apache.jasper.compiler.AntCompiler.generateClass(AntCompiler.java:249)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:297)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:276)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:264)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:563)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:303)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:368)
note The full stack trace of the root cause is available in the Apache Tomcat/5.5.17 logs.
----------------解决方案--------------------------------------------------------
用 http://localhost:8080能看到欢迎界面吗?
----------------解决方案--------------------------------------------------------
显示不出来!
----------------解决方案--------------------------------------------------------