论坛首页 Web前端技术论坛

Struts+Hibernate/JDBC+ExtJS实现人力资源管理系统(一)

浏览 28857 次
精华帖 (0) :: 良好帖 (0) :: 新手帖 (0) :: 隐藏帖 (0)
作者 正文
   发表时间:2009-06-28  
部署应用后,登陆不进去啊。用户名good,密码1,
0 请登录后投票
   发表时间:2009-06-30  
我也正在学习EXTJS,在跟数据库连接上困惑了很长时间
0 请登录后投票
   发表时间:2009-06-30  
为什么我部署后老是显示404错误啊。我访问的网址不对吗?下面是我的访问路径 http://localhost:8080/eHR/login.jsp
0 请登录后投票
   发表时间:2009-07-02  
login.jsp中动态加载 js是如何放到<div id=main>中
0 请登录后投票
   发表时间:2009-07-02  
呵呵  很好 lz真的很好,我刚学struts 很想用ext写前台,我想可能会遇到很多问题,到时向楼主多多请教,谢谢 分享 
0 请登录后投票
   发表时间:2009-07-02  
com.mysql.jdbc.exceptions.MySQLNonTransientConnectionException: Could not create connection to database server. Attempted reconnect 3 times. Giving up.
0 请登录后投票
   发表时间:2009-07-02  
2009-7-2 16:02:11 org.apache.catalina.core.ApplicationContext log
信息: java.lang.NullPointerException
com.mysql.jdbc.exceptions.MySQLNonTransientConnectionException: Could not create connection to database server. Attempted reconnect 3 times. Giving up.
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:980)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:956)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:926)
at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2253)
at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:718)
at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:298)
at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:282)
at java.sql.DriverManager.getConnection(DriverManager.java:525)
at java.sql.DriverManager.getConnection(DriverManager.java:171)
at com.idealab.util.JdbcUtil.openConn(JdbcUtil.java:20)
at com.idealab.struts.action.NewAction.execute(NewAction.java:35)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.idealab.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:22)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.sql.SQLException: Access denied for user 'root'@'localhost' (using password: YES)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1055)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:956)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3491)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3423)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:910)
at com.mysql.jdbc.MysqlIO.secureAuth411(MysqlIO.java:3923)
at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1273)
at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2181)
... 28 more
数据库连接失败!
0 请登录后投票
   发表时间:2009-07-02  
没有演示地址么???哎...想看下界面都看不了了...
0 请登录后投票
   发表时间:2009-07-02  
valus of sql is:insert into dept(pk_dept,pk_corp,deptname,depttype,deptduty,addr,tel) values(7,1,'sdfsdf','produce','sdfsdfsdf','sdfsfd','sdfsdfsdf')
1行受影响
插入成功?true2009-7-2 16:43:40 org.apache.catalina.core.ApplicationContext log
信息: Servlet execution threw an exception
2009-7-2 16:43:42 org.apache.catalina.core.ApplicationContext log
信息: Servlet execution threw an exception
0 请登录后投票
   发表时间:2009-07-02  
softherk 写道
为什么我部署后老是显示404错误啊。我访问的网址不对吗?下面是我的访问路径 http://localhost:8080/eHR/login.jsp


把端口号确定下
0 请登录后投票
论坛首页 Web前端技术版

跳转论坛:
Global site tag (gtag.js) - Google Analytics