org.springframework.jdbc.UncategorizedSQLException: 这是什么情况啊,用户名密码url都对啊包也没放错 50

org.springframework.jdbc.UncategorizedSQLException:SqlMapClientoperation:encounteredS... org.springframework.jdbc.UncategorizedSQLException: SqlMapClient operation: encountered SQLException [Cannot create JDBC driver of class 'COM.ibm.db2.jdbc.app.DB2Driver' for connect URL 'jdbc:db2:yacms']; nested exception is java.sql.SQLException: Cannot create JDBC driver of class 'COM.ibm.db2.jdbc.app.DB2Driver' for connect URL 'jdbc:db2:yacms'
java.sql.SQLException: Cannot create JDBC driver of class 'COM.ibm.db2.jdbc.app.DB2Driver' for connect URL 'jdbc:db2:yacms'
at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:541)
at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:312)
at org.springframework.jdbc.datasource.DataSourceUtils.doGetConnection(DataSourceUtils.java:107)
at org.springframework.jdbc.datasource.TransactionAwareDataSourceProxy.getConnection(TransactionAwareDataSourceProxy.java:107)
at com.ibatis.sqlmap.engine.transaction.external.ExternalTransaction.init(ExternalTransaction.java:53)
at com.ibatis.sqlmap.engine.transaction.external.ExternalTransaction.getConnection(ExternalTransaction.java:90)
at com.ibatis.sqlmap.engine.mapping.statement.GeneralStatement.executeQueryForObject(GeneralStatement.java:104)
at com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelegate.queryForObject(SqlMapExecutorDelegate.java:561)
at com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelegate.queryForObject(SqlMapExecutorDelegate.java:536)
at com.ibatis.sqlmap.engine.impl.SqlMapSessionImpl.queryForObject(SqlMapSessionImpl.java:93)
at com.ibatis.sqlmap.engine.impl.SqlMapClientImpl.queryForObject(SqlMapClientImpl.java:70)
at org.springframework.orm.ibatis.SqlMapClientTemplate$1.doInSqlMapClient(SqlMapClientTemplate.java:224)
at org.springframework.orm.ibatis.SqlMapClientTemplate.execute(SqlMapClientTemplate.java:165)
at org.springframework.orm.ibatis.SqlMapClientTemplate.queryForObject(SqlMapClientTemplate.java:222)
at com.dtbridge.core.dao.sqlmapdao.wei.UserInfoSqlMapDao.getUserInfo(UserInfoSqlMapDao.java:23)
at com.dtbridge.core.service.wei.UserService.getUserInfo(UserService.java:34)
at com.dtbridge.core.service.wei.UserService$$EnhancerByCGLIB$$929030e6.getUserInfo(<generated>)
at com.dtbridge.loan.formbean.manager.LoginBean.login(LoginBean.java:89)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at com.dtbridge.core.struts.BeanAction.execute(BeanAction.java:54)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:421)
展开
 我来答
华中农业大学
2013-04-19 · 贡献了超过107个回答
知道答主
回答量:107
采纳率:0%
帮助的人:27.8万
展开全部
你再检查一下,的确是放错了,要不不会出现这种情况
已赞过 已踩过<
你对这个回答的评价是?
评论 收起
收起 1条折叠回答
推荐律师服务: 若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询

为你推荐:

下载百度知道APP,抢鲜体验
使用百度知道APP,立即抢鲜体验。你的手机镜头里或许有别人想知道的答案。
扫描二维码下载
×

类别

我们会通过消息、邮箱等方式尽快将举报结果通知您。

说明

0/200

提交
取消

辅 助

模 式