主题 : 安装完后,启动报错
级别: 秀才
UID: 37547
积分:96 加为好友
威望: 0 精华: 0
主题:5 回复:40
注册时间:2012-08-17
在线时长:0
1#   发表于:2012-11-13 10:50:35  IP:218.132.*.*
斑竹:有问题,重新安装完成后,启动时候,报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: 33380
积分:50625 加为好友
威望: 21 精华: 3
主题:88 回复:30687
注册时间:2012-05-07
在线时长:0
2#   发表于:2012-11-13 10:52:06  IP:59.37.*.*
请描述下您的系统使用环境,如操作系统,JDK版本,tocmat版本,mysql版本等
功成由勤,业精于勤。
级别: 秀才
UID: 37547
积分:96 加为好友
威望: 0 精华: 0
主题:5 回复:40
注册时间:2012-08-17
在线时长:0
3#   发表于:2012-11-13 10:53:10  IP:218.132.*.*
回复第2楼 sp1、tomcat5、jdk6
这家伙很懒,什么都没留下
级别: 状元
UID: 33380
积分:50625 加为好友
威望: 21 精华: 3
主题:88 回复:30687
注册时间:2012-05-07
在线时长:0
4#   发表于:2012-11-13 10:59:56  IP:59.37.*.*
请说全面一点!数据库,和重新安装是什么意思呢?
功成由勤,业精于勤。
级别: 秀才
UID: 37547
积分:96 加为好友
威望: 0 精华: 0
主题:5 回复:40
注册时间:2012-08-17
在线时长:0
5#   发表于:2012-11-13 11:15:37  IP:218.132.*.*
回复第4楼 哦,是tomcat6,mysql5;就是按照教程,把 src 和 ROOT 都导入了工程里,然后,启动时候,报那个错误
这家伙很懒,什么都没留下
级别: 状元
UID: 33380
积分:50625 加为好友
威望: 21 精华: 3
主题:88 回复:30687
注册时间:2012-05-07
在线时长:0
6#   发表于:2012-11-13 11:31:11  IP:59.37.*.*
安装到第几部报错的
功成由勤,业精于勤。
级别: 秀才
UID: 37547
积分:96 加为好友
威望: 0 精华: 0
主题:5 回复:40
注册时间:2012-08-17
在线时长:0
7#   发表于:2012-11-13 11:32:08  IP:218.132.*.*
回复第6楼 都安装完成了,是在启动的时候 报的
这家伙很懒,什么都没留下
级别: 状元
UID: 33380
积分:50625 加为好友
威望: 21 精华: 3
主题:88 回复:30687
注册时间:2012-05-07
在线时长:0
8#   发表于:2012-11-13 11:48:04  IP:59.37.*.*
那您换过一个tomcat,可能是你tomat问题,换过一个版本的tomcat
功成由勤,业精于勤。
1 共1页