首页上一页 1 下一页尾页 3 条记录 1/1页
急!《java项目开发实例自学手册》中博客系统的问题
发表在Java图书答疑
2011-05-18
是否精华
是
否
版块置顶:
是
否
老师您好!我按照说明中的配置一步步都已成功,并添加了jspsmartupload、hibernate、sqlserver_driver等用户库,服务器也已配置成功并能显示后台页面;但是运行之后,像公告、日志、相片的添加页面可以打开,设置页面打不开,还有就是主页也无法显示,也不提示错误,请问如何解决
运行服务器后,控制台如下
2011-5-18 10:00:59 org.apache.catalina.core.AprLifecycleListener init
信息: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Genuitec\Common\binary\com.sun.java.jdk.win32.x86_1.6.0.013\bin;C:\Tomcat 6.0\bin
2011-5-18 10:00:59 org.apache.coyote.http11.Http11Protocol init
信息: Initializing Coyote HTTP/1.1 on http-8088
2011-5-18 10:00:59 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 404 ms
2011-5-18 10:00:59 org.apache.catalina.core.StandardService start
信息: Starting service Catalina
2011-5-18 10:00:59 org.apache.catalina.core.StandardEngine start
信息: Starting Servlet Engine: Apache Tomcat/6.0.14
2011-5-18 10:01:00 org.apache.coyote.http11.Http11Protocol start
信息: Starting Coyote HTTP/1.1 on http-8088
2011-5-18 10:01:00 org.apache.jk.common.ChannelSocket init
信息: JK: ajp13 listening on /0.0.0.0:8009
2011-5-18 10:01:00 org.apache.jk.server.JkMain start
信息: Jk running ID=0 time=0/47 config=null
2011-5-18 10:01:00 org.apache.catalina.startup.Catalina start
信息: Server startup in 803 ms
举例一个页面打不开的提示信息: 打开enter.jsp输入用户名密码后 主页显示如下:
HTTP Status 500 -
--------------------------------------------------------------------------------
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: java.lang.NullPointerException
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:541)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:435)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
com.wy.tool.Chinese.doFilter(Chinese.java:17)
root cause
java.lang.NullPointerException
com.Hibernate.util.Gethibernate.findUser(Gethibernate.java:203)
org.apache.jsp.validay_jsp._jspService(validay_jsp.java:80)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
com.wy.tool.Chinese.doFilter(Chinese.java:17)
note The full stack trace of the root cause is available in the Apache Tomcat/6.0.14 logs.
--------------------------------------------------------------------------------
Apache Tomcat/6.0.14
请问是什么原因?如何解决
非常急 谢谢@!
运行服务器后,控制台如下
2011-5-18 10:00:59 org.apache.catalina.core.AprLifecycleListener init
信息: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Genuitec\Common\binary\com.sun.java.jdk.win32.x86_1.6.0.013\bin;C:\Tomcat 6.0\bin
2011-5-18 10:00:59 org.apache.coyote.http11.Http11Protocol init
信息: Initializing Coyote HTTP/1.1 on http-8088
2011-5-18 10:00:59 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 404 ms
2011-5-18 10:00:59 org.apache.catalina.core.StandardService start
信息: Starting service Catalina
2011-5-18 10:00:59 org.apache.catalina.core.StandardEngine start
信息: Starting Servlet Engine: Apache Tomcat/6.0.14
2011-5-18 10:01:00 org.apache.coyote.http11.Http11Protocol start
信息: Starting Coyote HTTP/1.1 on http-8088
2011-5-18 10:01:00 org.apache.jk.common.ChannelSocket init
信息: JK: ajp13 listening on /0.0.0.0:8009
2011-5-18 10:01:00 org.apache.jk.server.JkMain start
信息: Jk running ID=0 time=0/47 config=null
2011-5-18 10:01:00 org.apache.catalina.startup.Catalina start
信息: Server startup in 803 ms
举例一个页面打不开的提示信息: 打开enter.jsp输入用户名密码后 主页显示如下:
HTTP Status 500 -
--------------------------------------------------------------------------------
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: java.lang.NullPointerException
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:541)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:435)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
com.wy.tool.Chinese.doFilter(Chinese.java:17)
root cause
java.lang.NullPointerException
com.Hibernate.util.Gethibernate.findUser(Gethibernate.java:203)
org.apache.jsp.validay_jsp._jspService(validay_jsp.java:80)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
com.wy.tool.Chinese.doFilter(Chinese.java:17)
note The full stack trace of the root cause is available in the Apache Tomcat/6.0.14 logs.
--------------------------------------------------------------------------------
Apache Tomcat/6.0.14
请问是什么原因?如何解决
非常急 谢谢@!