各位大侠,小弟在ssh的部署中出现问题,有谁遇到过或知道怎么处理,请帮忙解决一下。——————————
严重: Context initialization failed
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 [oa/bean/User.hbm.xml] cannot be opened because it does not exist...Caused by: java.io.FileNotFoundException: class path resource [oa/bean/User.hbm.xml] cannot be opened because it does not exist——————————但这个文件oa/bean/User.hbm.xml 确确实实的存在,以前部署在其它电脑上成功运行过,现在却出现这个问题,不知怎么回事?
严重: Context initialization failed
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 [oa/bean/User.hbm.xml] cannot be opened because it does not exist...Caused by: java.io.FileNotFoundException: class path resource [oa/bean/User.hbm.xml] cannot be opened because it does not exist——————————但这个文件oa/bean/User.hbm.xml 确确实实的存在,以前部署在其它电脑上成功运行过,现在却出现这个问题,不知怎么回事?
解决方案 »
- 请问公共类用单例模式和static方法哪个好?
- 为什么这样设计Dao?
- 为什么数据不提交数据库
- spring jbpm整合出错 ?
- spring中如何用AOP实现每个方法中LOG输出。
- 请问resin怎样连接DB2?请帮一下小弟吧!
- EJB层使用服务定位器的问题。
- 关于jTable的问题,如何在表格中的cell中点击“回车”后,让焦点移动到该列的下行去????
- 苦恼中,用jbuilder+weblogic部署ejb有的时候成功,有的时候出错,不知道错在哪里,请高手教教菜鸟(错误代码如下)
- 各位能推荐几本学XML的好书吗?谢谢
- hibernate sql 查询结果包含属性都是空的对象
- lucene中文分词
找不到 oa/bean/User.hbm.xml