首页上一页 1 下一页尾页 5 条记录 1/1页
发表在JavaWeb图书答疑
2009-03-30
是否精华
是
否
版块置顶:
是
否
[font color=#FF0000]
输入http://localhost:8080/news时显示:
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: dreamtime/dreamnews/ListClass
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:273)
javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
root cause
java.lang.NoClassDefFoundError: dreamtime/dreamnews/ListClass
org.apache.jsp.index_jsp.<init>(index_jsp.java:14)
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)
org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletWrapper.java:138)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:314)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
note The full stack trace of the root cause is available in the Apache Tomcat/5.5.27 logs.
--------------------------------------------------------------------------------
Apache Tomcat/5.5.27[/font]
用dreamweaver打开index.jsp时出现:
文件"D:\Program Files\Apache Software Foundation\Tomcat 5.5\webapps\news\dateNews.do"不存在.
文件"D:\Program Files\Apache Software Foundation\Tomcat 5.5\webapps\news\linkSelect.do"不存在.
文件"D:\Program Files\Apache Software Foundation\Tomcat 5.5\webapps\news\typeNewWatch.do"不存在.
我在D:\Program Files\Apache Software Foundation\Tomcat 5.5\webapps\news\WEB-INF\struts-config.xml中用Ctrl+F查找dateNews也找不到呀.
我已经在我的机子上成功运行了本书的---客户管理系统\企业进销存管理系统\电子商务系统案例.
是不是这个案例的配置和其它的不同呀。
(1)我已经安装了SQL Server 2000的SP4补丁。
(2)在安装SQL Server 2000时,设置为混合验证模式,并且使用的登录用户为sa空密码。
(3)已经将SQL Server 2000的三个数据库驱动包拷贝到该实例的lib文件夹。
我的邮箱jingmaowangyuhui@163.com
输入http://localhost:8080/news时显示:
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: dreamtime/dreamnews/ListClass
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:273)
javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
root cause
java.lang.NoClassDefFoundError: dreamtime/dreamnews/ListClass
org.apache.jsp.index_jsp.<init>(index_jsp.java:14)
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)
org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletWrapper.java:138)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:314)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
note The full stack trace of the root cause is available in the Apache Tomcat/5.5.27 logs.
--------------------------------------------------------------------------------
Apache Tomcat/5.5.27[/font]
用dreamweaver打开index.jsp时出现:
文件"D:\Program Files\Apache Software Foundation\Tomcat 5.5\webapps\news\dateNews.do"不存在.
文件"D:\Program Files\Apache Software Foundation\Tomcat 5.5\webapps\news\linkSelect.do"不存在.
文件"D:\Program Files\Apache Software Foundation\Tomcat 5.5\webapps\news\typeNewWatch.do"不存在.
我在D:\Program Files\Apache Software Foundation\Tomcat 5.5\webapps\news\WEB-INF\struts-config.xml中用Ctrl+F查找dateNews也找不到呀.
我已经在我的机子上成功运行了本书的---客户管理系统\企业进销存管理系统\电子商务系统案例.
是不是这个案例的配置和其它的不同呀。
(1)我已经安装了SQL Server 2000的SP4补丁。
(2)在安装SQL Server 2000时,设置为混合验证模式,并且使用的登录用户为sa空密码。
(3)已经将SQL Server 2000的三个数据库驱动包拷贝到该实例的lib文件夹。
我的邮箱jingmaowangyuhui@163.com