主题 : jeecms2012导入eclipse后启动报错 |
级别: 童生
|
1# 发表于:2013-03-26 16:12:22 IP:182.9.*.*
|
||||
---|---|---|---|---|---|
级别: 状元
|
2# 发表于:2013-03-26 16:17:08 IP:115.170.*.*
请描述下您的系统使用环境,如操作系统,JDK版本,tocmat版本,mysql版本等
|
||
---|---|---|---|
级别: 童生
|
3# 发表于:2013-03-26 16:26:32 IP:182.9.*.*
win7 64位 jdk1.6 tomcat6 mysql5.0 myeclipse8.5
先直接在tomcat上使用的安装版,已经成功了。 然后再myeclipse里导入src和安装后的webcontent,并拷贝了classes下的4个配置文件。 无编译错误,tomcat启动报错,谢谢指导。 |
||
---|---|---|---|
级别: 童生
|
5# 发表于:2013-03-26 16:52:45 IP:59.43.*.*
我新下载了一个tomcat还是报错啊,
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.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 这是spring配置上的错误,可是我什么代码都没动 |
||
---|---|---|---|
级别: 童生
|
7# 发表于:2013-03-26 17:06:51 IP:59.43.*.*
就是按照那个步骤来的。
|
||
---|---|---|---|
级别: 童生
|
9# 发表于:2013-03-26 17:20:51 IP:59.43.*.*
换了,新下载了一个,一样的错误。又换*也是这个错误。
|
||
---|---|---|---|