主题 : 错误错误错误错误错误
级别: 白丁
UID: 9905
积分:2 加为好友
威望: 0 精华: 0
主题:0 回复:2
注册时间:2010-08-11
在线时长:0
1#   发表于:2010-08-11 16:57:13  IP:119.134.*.*
[show] java.io.FileNotFoundException: class path resource [com/jeecms/core/entity/hbm/*.hbm.xml]
cannot be opened because it does not exist

javax.servlet.ServletException: org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'org.springframework.web.servlet.mvc.annotation.DefaultAnnotationHandlerMapping#0'
defined in ServletContext resource [/WEB-INF/config/jeecms-servlet-admin.xml]:
Cannot resolve reference to bean 'adminContextInterceptor' while setting
bean property 'interceptors' with key [0]; nested exception is org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'adminContextInterceptor': Injection of autowired
dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException:
Could not autowire method: public void com.jeecms.cms.web.AdminContextInterceptor.setCmsSiteMng(com.jeecms.cms.manager.CmsSiteMng);
nested exception is org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'cmsSiteMng': Injection of autowired dependencies
failed; nested exception is org.springframework.beans.factory.BeanCreationException:
Could not autowire method: public void com.jeecms.cms.manager.impl.CmsSiteMngImpl.setDao(com.jeecms.cms.dao.CmsSiteDao);
nested exception is org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'cmsSiteDao': Injection of autowired dependencies
failed; nested exception is org.springframework.beans.factory.BeanCreationException:
Could not autowire method: public void com.jeecms.common.hibernate3.HibernateBaseDao.setSessionFactory(org.hibernate.SessionFactory);
nested exception is org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'sessionFactory' defined in ServletContext
resource [/WEB-INF/config/application-context.xml]: Invocation of init
method failed; nested exception is java.io.FileNotFoundException: class
path resource [com/jeecms/core/entity/hbm/*.hbm.xml] cannot be opened because
it does not exist
级别: 白丁
UID: 31
积分:209 加为好友
威望: 0 精华: 0
主题:2 回复:167
注册时间:2009-06-03
在线时长:0
2#   发表于:2010-08-11 17:10:54  IP:59.245.*.*
是在什么情况下发生的?是安装时发生的错误还是什么情况
什么操作系统及版本、tomcat版本、mysql版本。
是否修改了东西,
检查jeecms-core-3.0.jar这个包在不在。如果存在,解压开看看com/jeecms/core/entity/hbm/目录是否有以.hbm.xml结尾的文件。
1 共1页