我的系统部署到客户那边在初始化时出现了如下的错误:
org.springframework.web.context.ContextLoaderListener
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in ServletContext resource [/WEB-INF/applicationContext-hibernate.xml]: Initialization of bean failed; nested exception is org.hibernate.MappingException: org.dom4j.DocumentException: No route to host: connect Nested exception: No route to host: connect
org.hibernate.MappingException: org.dom4j.DocumentException: No route to host: connect Nested exception: No route to host: connect
我觉得问题的核心在“No route to host: connect”,我猜想是客户那边tomcat服务器不能连到数据库服务器。具体的问题还不清楚,不知那位有没有什么高见,请指点,谢谢!:)
![None.gif](/Images/OutliningIndicators/None.gif)
![None.gif](/Images/OutliningIndicators/None.gif)
![None.gif](/Images/OutliningIndicators/None.gif)
我觉得问题的核心在“No route to host: connect”,我猜想是客户那边tomcat服务器不能连到数据库服务器。具体的问题还不清楚,不知那位有没有什么高见,请指点,谢谢!:)