如何解决Apache Tomcat/6.0.14-error report 5
typeExceptionreportmessagedescriptionTheserverencounteredaninternalerror()thatprevent...
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'scheduler' defined in ServletContext resource [/WEB-INF/applicationContext-hibernate-stat.xml]: Initialization of bean failed; nested exception is org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested exception is org.hibernate.exception.GenericJDBCException: Cannot open connection
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:370)
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:226)
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:147)
org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:246)
org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:184)
org.springframework.web.context.ContextLoaderServlet.init(ContextLoaderServlet.java:83)
javax.servlet.GenericServlet.init(GenericServlet.java:212) 展开
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'scheduler' defined in ServletContext resource [/WEB-INF/applicationContext-hibernate-stat.xml]: Initialization of bean failed; nested exception is org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested exception is org.hibernate.exception.GenericJDBCException: Cannot open connection
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:370)
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:226)
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:147)
org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:246)
org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:184)
org.springframework.web.context.ContextLoaderServlet.init(ContextLoaderServlet.java:83)
javax.servlet.GenericServlet.init(GenericServlet.java:212) 展开
2017-07-05
展开全部
这是DNS出问题了。解决措施:、打开网络邻居后,打到本地连接,右键,属性,、打到ipv
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
1 创建 name为 scheduler 的bean时错误
2 创建事务异常不能打开jdbc连接
2 创建事务异常不能打开jdbc连接
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
2013-08-20
展开全部
itialization of bean failed; nested exception is org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested exception is org.hibernate.exception.GenericJDBCException: Cannot open connection
数据库连接失败
数据库连接失败
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询