
ssh2框架整合配置完成过后出现问题
在有网络的情况下tomcat启动正常,一断网,tomcat启动就报异常,大致如下:SEVERE:Exceptionsendingcontextinitializedeve...
在有网络的情况下tomcat启动正常,一断网,tomcat启动就报异常,大致如下:SEVERE: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListenerorg.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resource [bean.xml]: Invocation of init method failed; nested exception is org.hibernate.InvalidMappingException: Could not parse mapping document from input stream at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1403) 说的好像是sessionfactory不能实例化,但是如果有网络就一切正常,也能对数据库进行交互,可是一断网再启动tomcat调试就会出现上述异常,结果就是根本不能打开网页调试。求高手,小弟跪谢了,倾家荡产只有10个财富值,再次感谢了!!!!!!!!
展开
展开全部
正常来说跟断不断网没关系,是不是tomcat配置有问题
更多追问追答
追问
我把tomcat的版本换过了也是这样
追答
配置环境变量了没
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询