安装JPETSTORE出错,请帮忙看看是哪出了问题.

txfos
07-10-18 5 341

type Exception report

message

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

exception

javax.servlet.ServletException: Define tag cannot set a null value
org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:846)
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:779)
org.apache.jsp.catalog.Category_jsp._jspService(org.apache.jsp.catalog.Category_jsp:361)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:99)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:325)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:245)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1056)
org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:388)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:231)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397)
javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
com.jdon.util.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:92)


root cause

javax.servlet.jsp.JspException: Define tag cannot set a null value
org.apache.struts.taglib.bean.DefineTag.doEndTag(DefineTag.java:238)
org.apache.jsp.catalog.Category_jsp._jspService(org.apache.jsp.catalog.Category_jsp:268)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:99)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:325)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:245)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1056)
org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:388)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:231)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397)
javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
com.jdon.util.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:92)


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

以上是出错内容.请问是什么原因?要怎么解决?是不是JDK的问题.我用的是JDK6

txfos
2007-10-18 20:57

http://localhost:8080/jpetstore/shop/index.shtml到这都没问题.再下去就不行了.急!

banq
2007-10-18 21:17

这是浏览器出错信息,无法准确反映问题,需要打开tomcat的日志或log4j的输出日志,找到第一个ERROR,当然tomcat控制台也可能会找到。

一般都是数据库连接问题。

txfos
2007-10-18 21:33

tomcat控制台里是开始是这样的错误信息:
2007-10-18 21:15:32,796 [http-8080-Processor25] ERROR StandardWrapper[/jpetstore
:action] - Servlet.service() for servlet action threw exception
javax.servlet.jsp.JspException: Define tag cannot set a null value

是什么意思呀?怎么解决?

谢谢banq大哥这么及时帮忙.

txfos
2007-10-20 10:13

我这个问题还是没解决呀!请教该怎么办啊?急呀!

2Go 1 2 下一页