主题 : jeecms3.0.4 启动问题
级别: 白丁
UID: 11254
积分:1 加为好友
威望: 0 精华: 0
主题:0 回复:1
注册时间:2010-09-25
在线时长:0
1#   发表于:2011-02-22 14:58:11  IP:59.20.*.*
14:53:58.125 [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]: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dynamicAct': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.jeecms.cms.manager.main.ContentMng com.jeecms.cms.action.front.DynamicPageAct.contentMng; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'contentMng' defined in ServletContext resource [/WEB-INF/config/jeecms-context.xml]: Cannot resolve reference to bean 'contentStaticPageListener' while setting bean property 'listenerList' with key [1]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'contentStaticPageListener': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire method: public void com.jeecms.cms.staticpage.ContentStaticPageListener.setStaticPageSvc(com.jeecms.cms.staticpage.StaticPageSvc); nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'staticPageSvc' defined in ServletContext resource [/WEB-INF/config/jeecms-context.xml]: Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: tplMessageSource configuration cannot be null!
级别: 白丁
UID: 11254
积分:1 加为好友
威望: 0 精华: 0
主题:0 回复:1
注册时间:2010-09-25
在线时长:0
2#   发表于:2011-02-22 15:00:48  IP:59.20.*.*
下载下来的jeecms3.0.4 final版本源码覆盖3.0.2的源代码后,启动服务器的时候报的错误
级别: 童生
UID: 10739
积分:3 加为好友
威望: 0 精华: 0
主题:0 回复:3
注册时间:2010-09-08
在线时长:0
3#   发表于:2011-02-22 15:06:44  IP:59.136.*.*
您好,您没有删除源代码那3个jar包吧?是导入eclipse了吗?
级别: 白丁
UID: 11254
积分:1 加为好友
威望: 0 精华: 0
主题:0 回复:1
注册时间:2010-09-25
在线时长:0
4#   发表于:2011-02-22 15:09:49  IP:59.20.*.*
我早就删除了,我就是把源代码替换了一下,其它地方都没有动过,之前的3.0.2是运行好的。
我测试了好几遍,还是出现这个问题,不知道怎么回事?
我把源代码换回3.0.2的,是好的,不会出现这个问题。
级别: 白丁
UID: 11254
积分:1 加为好友
威望: 0 精华: 0
主题:0 回复:1
注册时间:2010-09-25
在线时长:0
5#   发表于:2011-02-22 15:14:39  IP:59.20.*.*
你们能不能重新建立一个项目重新测试一下?
级别: 童生
UID: 10739
积分:3 加为好友
威望: 0 精华: 0
主题:0 回复:3
注册时间:2010-09-08
在线时长:0
6#   发表于:2011-02-22 15:14:58  IP:59.136.*.*
ROOT没改?这个也要改的呀
级别: 白丁
UID: 11254
积分:1 加为好友
威望: 0 精华: 0
主题:0 回复:1
注册时间:2010-09-25
在线时长:0
7#   发表于:2011-02-22 15:19:50  IP:59.20.*.*
ROOT没改?这个也要改的呀


root 改哪里?
级别: 童生
UID: 10739
积分:3 加为好友
威望: 0 精华: 0
主题:0 回复:3
注册时间:2010-09-08
在线时长:0
8#   发表于:2011-02-22 15:26:44  IP:59.136.*.*
我们发布的jeecms3.0.4不是有2个帖子吗,一个是源码,一个是安装,如果要导入eclipse,2个都要下载,安装的那个就是ROOT
级别: 白丁
UID: 11254
积分:1 加为好友
威望: 0 精华: 0
主题:0 回复:1
注册时间:2010-09-25
在线时长:0
9#   发表于:2011-02-22 15:29:19  IP:59.20.*.*
明白了,谢谢!我再下一个试试看
1 共1页