主题 : 刚接触JEECMS,小白问题,大家应该都知道!
级别: 白丁
UID: 23924
积分:75 加为好友
威望: 0 精华: 0
主题:8 回复:19
注册时间:2011-09-24
在线时长:0
1#   发表于:2011-09-26 17:41:07  IP:121.176.*.*
1.在myeclipse中新建一个项目jeecms,将服务器中jeecms项目下web-inf文件夹下内容拷到新建项目中 
 

请问:拷到项目中,是直接复制到项目的根目录,还是复制到新项目的web-inf文件夹下面?
级别: 白丁
UID: 23924
积分:75 加为好友
威望: 0 精华: 0
主题:8 回复:19
注册时间:2011-09-24
在线时长:0
2#   发表于:2011-09-26 18:11:31  IP:121.176.*.*
已经知道我为什么一直报错了:如果我不移动任何jar包,就很正常;只要按照安装说明只删除一个jar,或者删除3个,再添加3个,都会报下列错误:
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-front.xml]: Cannot resolve reference to bean 'frontContextInterceptor' while setting bean property 'interceptors' with key [0]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'frontContextInterceptor': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire method: public void com.jeecms.cms.web.FrontContextInterceptor.setCmsSiteMng(com.jeecms.cms.manager.main.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.main.impl.CmsSiteMngImpl.setDao(com.jeecms.cms.dao.main.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.HibernateSimpleDao.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 org.hibernate.DuplicateMappingException: Duplicate class/entity mapping com.jeecms.core.entity.Authentication
跟框架有关吗
级别: 童生
UID: 24484
积分:18 加为好友
威望: 0 精华: 0
主题:1 回复:12
注册时间:2011-10-16
在线时长:0
3#   发表于:2011-11-06 20:08:01  IP:121.194.*.*
ddd
1 共1页