首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > JAVA > J2EE开发 >

冰天雪地跪求解决新手S2SH框架有关问题

2012-01-24 
冰天雪地跪求解决新手S2SH框架问题严重: Exception sending context initialized event to listener insta

冰天雪地跪求解决新手S2SH框架问题
严重: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Invocation of init method failed; nested exception is java.io.FileNotFoundException: class path resource [com/test/bean/User.hbm.xml] cannot be opened because it does not exist
Caused by: java.io.FileNotFoundException: class path resource [com/test/bean/User.hbm.xml] cannot be opened because it does not exist


我是struts2.2+spring2.0+hibernate3.0做的 一开始又是又是这个错误,把冲突包asm-2.2.3.jar删除 还是显示这个
commons-pool这个包都有的.语法应该没错的.
试过好多方法啦 跪求解决办法..

[解决办法]
com/test/bean/User.hbm.xml 这个XML文件 检查一下, 有否 在applicationcontext里
[解决办法]
很明显,在 class path 下,com/test/bean/User.hbm.xml不存在
[解决办法]
com/test/bean/User.hbm.xml不存在

热点排行