主题 : 求解 |
级别: 童生
![]() |
1# 发表于:2016-09-12 16:22:36 IP:222.147.*.*
|
||||
---|---|---|---|---|---|
级别: 童生
![]() |
2# 发表于:2016-09-12 16:23:55 IP:222.147.*.*
上星期还用呢,关了次机就这样了
|
||
---|---|---|---|
级别: 总版主
![]() |
3# 发表于:2016-09-12 16:24:23 IP:59.137.*.*
6:06:31.005 ERROR org.hibernate.util.JDBCExceptionReporter - An attempt by a client to checkout a Connection has timed out.
16:06:46.316 ERROR org.hibernate.util.JDBCExceptionReporter - An attempt by a client to checkout a Connection has timed out. 16:06:46.318 ERROR org.hibernate.util.JDBCExceptionReporter - An attempt by a client to checkout a Connection has timed out. 16:06:46.692 ERROR org.springframework.web.context.ContextLoader - Context initialization failed org.springframework.beans.factory.BeanCr错误信息比较明显,链接不上数据库,你是不是数据库用户或者密码 以及端口号检查下是不是正确? |
||
---|---|---|---|
级别: 童生
![]() |
4# 发表于:2016-09-12 16:25:29 IP:222.147.*.*
jdbc是这样的
#mysql\u914d\u7f6e jdbc.driverClassName=com.mysql.jdbc.Driver jdbc.url=jdbc:mysql://localhost:3306/new_schema?characterEncoding=UTF-8 jdbc.username=root jdbc.password=123456 hibernate.db=mysql hibernate.dialect=org.hibernate.dialect.MySQLInnoDBDialect hibernate.hbm.jeecms.core=classpath*:/com/jeecms/core/entity/hbm/*.hbm.xml hibernate.hbm.jeecms.cms=classpath*:/com/jeecms/cms/entity/main/hbm/*.hbm.xml hibernate.hbm.jeecms.assist=classpath*:/com/jeecms/cms/entity/assist/hbm/*.hbm.xml cpool.checkoutTimeout=5000 cpool.minPoolSize=20 cpool.maxPoolSize=50 cpool.maxIdleTime=7200 cpool.maxIdleTimeExcessConnections=1800 cpool.acquireIncrement=10 |
||
---|---|---|---|
级别: 童生
![]() |
6# 发表于:2016-09-12 16:31:50 IP:222.147.*.*
恩恩,建了,估计是数据库的问题,前面数据库服务出现启动服务时提示“本地计算机上的mysql服务启动后停止。某些服务在未由其他服务或程序使用时将自动停止。”无法启动服务。 我搞了数据库,
|
||
---|---|---|---|
级别: 童生
![]() |
8# 发表于:2016-09-12 16:33:26 IP:222.147.*.*
恩恩,好的,谢谢
|
||
---|---|---|---|
1
共1页