首页上一页 1 下一页尾页 5 条记录 1/1页
急需《hibernate应用开发完全手册》中物资管理系统中的JAR包!!!
发表在JavaWeb图书答疑
2010-10-25
是否精华
是
否
版块置顶:
是
否
设置时间:
非永久
永久
起始时间:
结束时间:
是否扣分:
是
否
明日科技的各位技术支持人士,你们好!希望各位能给我提供一份《Hibernate应用开发完全手册》中第18个实例——物资管理系统中的Jar包。我在www.mingribook.com找了个遍,也没有找到相应的Jar包,希望各位能发一份到我的邮箱中,我的邮箱是:mingzhaolong@yahoo.com.cn。如果各位担心版权问题,提供一份包括所有Jar包的详细清单给我也行。
多谢各位了!
多谢各位了!
精彩评论 5
2010-10-27
4L
[FIELDSET][LEGEND]引自:3楼[/LEGEND]
读者您好:请您试一下Struts1.3.10版,由于没有您程序的源代码,不能完全解决您的问题,请见谅!
[/FIELDSET]
回复:
我改用Struts1.3.10、hibernate3.2以后还是提示一下错误!
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: java.lang.NullPointerException
org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:520)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:427)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228)
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)
root cause
java.lang.NullPointerException
com.core.MySession.openSession(MySession.java:24)
com.dao.UserDAO.query(UserDAO.java:15)
com.dao.UserDAO.login(UserDAO.java:70)
com.action.User.login(User.java:130)
com.action.User.execute(User.java:34)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228)
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.14 logs.
--------------------------------------------------------------------------------
Apache Tomcat/6.0.14
我把程序的源码通过邮件发给你了。
读者您好:请您试一下Struts1.3.10版,由于没有您程序的源代码,不能完全解决您的问题,请见谅!
[/FIELDSET]
回复:
我改用Struts1.3.10、hibernate3.2以后还是提示一下错误!
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: java.lang.NullPointerException
org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:520)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:427)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228)
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)
root cause
java.lang.NullPointerException
com.core.MySession.openSession(MySession.java:24)
com.dao.UserDAO.query(UserDAO.java:15)
com.dao.UserDAO.login(UserDAO.java:70)
com.action.User.login(User.java:130)
com.action.User.execute(User.java:34)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228)
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.14 logs.
--------------------------------------------------------------------------------
Apache Tomcat/6.0.14
我把程序的源码通过邮件发给你了。
2010-10-28
5L
这个应该不是jar包的问题了,应该是com.core.MySession.openSession()这个方法的问题!
看一下Hibernate的配置,数据库连接驱动、数据库名、密码对不对,这个要与你的数据库对应上才行
java.lang.NullPointerException
com.core.MySession.openSession(MySession.java:24)
com.dao.UserDAO.query(UserDAO.java:15)
com.dao.UserDAO.login(UserDAO.java:70)
com.action.User.login(User.java:130)
com.action.User.execute(User.java:34)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228)
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)
看一下Hibernate的配置,数据库连接驱动、数据库名、密码对不对,这个要与你的数据库对应上才行
java.lang.NullPointerException
com.core.MySession.openSession(MySession.java:24)
com.dao.UserDAO.query(UserDAO.java:15)
com.dao.UserDAO.login(UserDAO.java:70)
com.action.User.login(User.java:130)
com.action.User.execute(User.java:34)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228)
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)