could not open JDBC Connection for transaction
g4.jdbc.driverClassName=com.mysql.jdbc.Driverg4.jdbc.url=jdbc:mysql://localhost:3306/...
g4.jdbc.driverClassName=com.mysql.jdbc.Driver
g4.jdbc.url=jdbc:mysql://localhost:3306/CONTRACTMANAGESTU
g4.jdbc.username=root
g4.jdbc.password=guanbiao33
数据库配置没问题吧,报错
严重: Failed startup of context org.mortbay.jetty.webapp.WebAppContext@cade31{/ContractManage,file:/D:/Developer/WorkSpace/ContractManage01/WebRoot/}
org.springframework.transaction.CannotCreateTransactionException: Could not open JDBC Connection for transaction; nested exception is org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Io 异常: The Network Adapter could not establish the connection) 展开
g4.jdbc.url=jdbc:mysql://localhost:3306/CONTRACTMANAGESTU
g4.jdbc.username=root
g4.jdbc.password=guanbiao33
数据库配置没问题吧,报错
严重: Failed startup of context org.mortbay.jetty.webapp.WebAppContext@cade31{/ContractManage,file:/D:/Developer/WorkSpace/ContractManage01/WebRoot/}
org.springframework.transaction.CannotCreateTransactionException: Could not open JDBC Connection for transaction; nested exception is org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Io 异常: The Network Adapter could not establish the connection) 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询