首页上一页 1 下一页尾页 1 条记录 1/1页
运行程序后出现500
发表在JavaWeb图书答疑
2017-11-07 悬赏:10 学分
《JavaWeb项目开发实战入门》第3章 BBS——程序源论坛
是否精华
是
否
版块置顶:
是
否
根据书上的步骤,运行后。出现了这种错误。是什么原因呢?
HTTP Status 500 - Request processing failed; nested exception is org.mybatis.spring.MyBatisSystemException:nested exception is org.apache.ibatis.exceptions.PersistenceException:
exception
org.springframework.web.util.NestedServletException: Request processing failed; nested exception is 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 com.alibaba.druid.pool.GetConnectionTimeoutException: wait millis 6000, active 0, maxActive 20 ### The error may exist in file [D:\jars\apache-tomcat-8.0.47\webapps\mrbbs\WEB-INF\classes\com\mrkj\ygl\config\mapping\DictionaryMapper.xml] ### The error may involve com.mrkj.ygl.dao.sys.DictionaryMapper.selectByGroup ### The error occurred while executing a query ### Cause: org.springframework.jdbc.CannotGetJdbcConnectionException: Could not get JDBC Connection; nested exception is com.alibaba.druid.pool.GetConnectionTimeoutException: wait millis 6000, active 0, maxActive 20
root cause
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 com.alibaba.druid.pool.GetConnectionTimeoutException: wait millis 6000, active 0, maxActive 20 ### The error may exist in file [D:\jars\apache-tomcat-8.0.47\webapps\mrbbs\WEB-INF\classes\com\mrkj\ygl\config\mapping\DictionaryMapper.xml] ### The error may involve com.mrkj.ygl.dao.sys.DictionaryMapper.selectByGroup ### The error occurred while executing a query ### Cause: org.springframework.jdbc.CannotGetJdbcConnectionException: Could not get JDBC Connection; nested exception is com.alibaba.druid.pool.GetConnectionTimeoutException: wait millis 6000, active 0, maxActive 20
求解答