主题 : 部署3.02报错,tomcat6
级别: 白丁
UID: 8674
积分:1 加为好友
威望: 0 精华: 0
主题:0 回复:1
注册时间:2010-07-04
在线时长:0
1#   发表于:2011-01-06 11:26:26  IP:122.122.*.*
11:24:34.489 [main] ERROR o.s.web.servlet.DispatcherServlet - Context initialization failed
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: 14682
积分:1 加为好友
威望: 0 精华: 0
主题:0 回复:1
注册时间:2011-01-07
在线时长:0
2#   发表于:2011-01-10 10:37:43  IP:124.66.*.*
那三个XML文件 你没加进入吧
1 共1页