2014年2月15日

Could not parse mapping document from resource XX.xml 错误! 这是我找到的最符合的结果

摘要: 今天整合SSH2的时候碰到了个hibernate映射出错了。异常如下%%%% Error Creating SessionFactory %%%%org.hibernate.InvalidMappingException: Could not parse mapping document from resource com/innoact/pojo/User.hbm.xmlat org.hibernate.cfg.Configuration.addResource(Configuration.java:569)at org.hibernate.cfg.Configuration.parseMa 阅读全文

posted @ 2014-02-15 18:11 0101的田野山居 阅读(1694) 评论(0) 推荐(0) 编辑

IOException while loading persisted sessions: java.io.EOFException 异常处理转载

摘要: 主要错误提示如下:严重: IOException while loading persisted sessions: java.io.EOFException严重: Exception loading sessions from persistent storagebaidu了一下,结合网上提供的解决方法,我也在此做个备份.分析:EOFException表示输入过程中意外地到达文件尾或流尾的信号,导致从session中获取数据失败。异常是tomcat本身的问题,由于tomcat上次非正常关闭时有一些活动session被持久化(表现为一些临时文件),在重启时,tomcat尝试去恢复这些sessi 阅读全文

posted @ 2014-02-15 17:55 0101的田野山居 阅读(181) 评论(0) 推荐(0) 编辑

导航