org.springframework.jdbc。CannotGetJdbcConnectionException:无法获得JDBC连接; 10
org.mybatis.spring.MyBatisSystemException:nestedexceptionisorg.apache.ibatis.exceptio...
org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.exceptions.PersistenceException:
### Error querying database. Cause: org.springframework.jdbc.CannotGetJdbcConnectionException: Could not get JDBC Connection; nested exception is org.apache.commons.dbcp.SQLNestedException: Cannot load JDBC driver class 'com.microsoft.sqlserver.jdbc.SQLServerDriver'
### The error may exist in cn/drzk/wanda/cinema/dao/form/dao/TicketsFromDao.java (best guess)
### The error may involve cn.drzk.wanda.cinema.dao.form.dao.TicketsFromDao.count
### The error occurred while executing a query
### Cause: org.springframework.jdbc.CannotGetJdbcConnectionException: Could not get JDBC Connection; nested exception is org.apache.commons.dbcp.SQLNestedException: Cannot load JDBC driver class 'com.microsoft.sqlserver.jdbc.SQLServerDriver' 展开
### Error querying database. Cause: org.springframework.jdbc.CannotGetJdbcConnectionException: Could not get JDBC Connection; nested exception is org.apache.commons.dbcp.SQLNestedException: Cannot load JDBC driver class 'com.microsoft.sqlserver.jdbc.SQLServerDriver'
### The error may exist in cn/drzk/wanda/cinema/dao/form/dao/TicketsFromDao.java (best guess)
### The error may involve cn.drzk.wanda.cinema.dao.form.dao.TicketsFromDao.count
### The error occurred while executing a query
### Cause: org.springframework.jdbc.CannotGetJdbcConnectionException: Could not get JDBC Connection; nested exception is org.apache.commons.dbcp.SQLNestedException: Cannot load JDBC driver class 'com.microsoft.sqlserver.jdbc.SQLServerDriver' 展开
4个回答
展开全部
我也遇到了 , 楼主最后是如何解决的?
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
看数据库的服务有没有开启
看看项目的配置文件中有没有写全,驱动,用户名,密码,数据库路径
看看数据库的服务中tcp/ip有没有启用
追问
都没问题。
本回答被网友采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
我这里是由于mysql56没有启动导致的,你也可以试一下!
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询