主题 : jeecms_2012导入myeclipse后运行出错!! |
级别: 秀才
![]() |
1# 发表于:2012-02-21 10:16:01 IP:61.67.*.*
|
||||
---|---|---|---|---|---|
级别: 秀才
![]() |
2# 发表于:2012-02-21 10:23:10 IP:61.67.*.*
基本上 有这几类:
1。javax.servlet.ServletException: Servlet.init() for servlet JeeCmsFront threw exception 2.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 |
||
---|---|---|---|
级别: 总版主
![]() |
3# 发表于:2012-02-21 10:25:00 IP:59.166.*.*
org.hibernate.DuplicateMappingException: Duplicate class/entity mapping com.jeecms.core.entity.Authentication
这个应该是jar包和源码冲突了。导致了映射文件不确定是哪个类了。 |
||
---|---|---|---|
级别: 秀才
![]() |
4# 发表于:2012-02-21 10:28:09 IP:61.67.*.*
回复第3楼
|
||
---|---|---|---|
级别: 秀才
![]() |
5# 发表于:2012-02-21 10:29:29 IP:61.67.*.*
那具体应该怎么做? 要删掉jar包吗 还是?
|
||
---|---|---|---|
级别: 秀才
![]() |
6# 发表于:2012-02-21 10:36:35 IP:61.67.*.*
回复第3楼
版主 有什么觉得的办法没有!! |
||
---|---|---|---|
级别: 秀才
![]() |
8# 发表于:2012-02-21 10:55:44 IP:61.67.*.*
回复第7楼
还是一样的 我从新换了一个新的TOMCAT 也是一样的 要不你给个 邮箱 我发给你 你看看到底是我有什么东西不一样 或者我给我的邮箱给你dennislee414@sina.com 你发一下刚才你测试过的项目 我看看在我本机上能运行吗? |
||
---|---|---|---|
级别: 总版主
![]() |
9# 发表于:2012-02-21 10:59:57 IP:59.166.*.*
你可以参考 JEECMS-V2012导入eclipse步骤说明http://www.jeecms.com/rjaz/326.jhtml
|
||
---|---|---|---|
级别: 秀才
![]() |
10# 发表于:2012-02-21 11:01:37 IP:61.67.*.*
回复第9楼
是jar包冲突了 还是 ? 急啊 版主! |
||
---|---|---|---|