主题 : cms安装错误问题
级别: 秀才
UID: 19846
积分:52 加为好友
威望: 0 精华: 0
主题:5 回复:26
注册时间:2011-05-23
在线时长:0
1#   发表于:2013-01-12 14:04:27  IP:124.81.*.*
请问cms_2012_sp1的eclipse中导入跟cms_v2012一样吗?
我导入了,但是报了很多错误
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 'contentCountAct': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.jeecms.cms.service.ContentCountCache com.jeecms.cms.action.front.ContentCountAct.contentCountCache; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'contentCountCache': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire method: public void com.jeecms.cms.service.ContentCountCacheImpl.setCache(net.sf.ehcache.Ehcache); nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ehContentCountCache' defined in ServletContext resource [/WEB-INF/config/cache-context.xml]: Cannot resolve reference to bean 'cacheManager' while setting bean property 'cacheManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'cacheManager' defined in ServletContext resource [/WEB-INF/config/cache-context.xml]: Invocation of init method failed; nested exception is java.io.FileNotFoundException: class path resource [ehcache-application.xml] cannot be opened because it does not exist
级别: 状元
UID: 33380
积分:50625 加为好友
威望: 21 精华: 3
主题:88 回复:30687
注册时间:2012-05-07
在线时长:0
2#   发表于:2013-01-12 14:14:29  IP:220.40.*.*
您的环境是什么?描述下
功成由勤,业精于勤。
级别: 秀才
UID: 19846
积分:52 加为好友
威望: 0 精华: 0
主题:5 回复:26
注册时间:2011-05-23
在线时长:0
3#   发表于:2013-01-12 14:17:25  IP:124.81.*.*
jdk1.6+tomcat60
myeclipse for spring 10.0
级别: 秀才
UID: 19846
积分:52 加为好友
威望: 0 精华: 0
主题:5 回复:26
注册时间:2011-05-23
在线时长:0
4#   发表于:2013-01-12 14:18:08  IP:124.81.*.*
第一次安装完后tomc报一下错误
严重: The web application [] registered the JDBC driver [com.mysql.jdbc.Driver]
but failed to unregister it when the web application was stopped. To prevent a m
emory leak, the JDBC Driver has been forcibly unregistered.
2013-1-12 12:36:59 org.apache.catalina.loader.WebappClassLoader clearReferencesT
hreads
严重: The web application [] appears to have started a thread named [MySQL State
ment Cancellation Timer] but has failed to stop it. This is very likely to creat
e a memory leak.
级别: 状元
UID: 33380
积分:50625 加为好友
威望: 21 精华: 3
主题:88 回复:30687
注册时间:2012-05-07
在线时长:0
5#   发表于:2013-01-12 14:29:16  IP:220.40.*.*
您好!你到安装与使用区发帖!
功成由勤,业精于勤。
1 共1页