主题 : cms安装错误问题
级别: 秀才
UID: 19846
积分:52 加为好友
威望: 0 精华: 0
主题:5 回复:26
注册时间:2011-05-23
在线时长:0
1#   发表于:2013-01-12 14:31:38  IP:124.206.*.*
请问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:33:25  IP:220.40.*.*
四个配置文件放到src下面了吗
功成由勤,业精于勤。
级别: 秀才
UID: 19846
积分:52 加为好友
威望: 0 精华: 0
主题:5 回复:26
注册时间:2011-05-23
在线时长:0
3#   发表于:2013-01-12 14:37:50  IP:124.206.*.*
哪四个文件啊?我把所有的配置文件都放了
级别: 状元
UID: 33380
积分:50625 加为好友
威望: 21 精华: 3
主题:88 回复:30687
注册时间:2012-05-07
在线时长:0
4#   发表于:2013-01-12 14:38:56  IP:220.40.*.*
WEB-INF/class下的四个配置文件放到src
功成由勤,业精于勤。
级别: 秀才
UID: 19846
积分:52 加为好友
威望: 0 精华: 0
主题:5 回复:26
注册时间:2011-05-23
在线时长:0
5#   发表于:2013-01-12 14:39:00  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
6#   发表于:2013-01-12 14:40:07  IP:220.40.*.*
数据库创建错误
功成由勤,业精于勤。
级别: 秀才
UID: 19846
积分:52 加为好友
威望: 0 精华: 0
主题:5 回复:26
注册时间:2011-05-23
在线时长:0
7#   发表于:2013-01-12 14:50:28  IP:124.81.*.*
我直接把ROOT放在webapps下面来安装也是报上面的错误,是tomcat的问题还是mysql的问题啊?安装完后后台可以正常访问,就是前台不能访问,老是出来安装页面,一点击下一步就报500错误
级别: 状元
UID: 33380
积分:50625 加为好友
威望: 21 精华: 3
主题:88 回复:30687
注册时间:2012-05-07
在线时长:0
8#   发表于:2013-01-12 14:51:42  IP:220.40.*.*
mysql,您要重新安装一遍
功成由勤,业精于勤。
级别: 秀才
UID: 19846
积分:52 加为好友
威望: 0 精华: 0
主题:5 回复:26
注册时间:2011-05-23
在线时长:0
9#   发表于:2013-01-12 16:12:06  IP:124.81.*.*
晕啊,还是不行。网站访问路径是http://localhost:8080是吧
级别: 状元
UID: 33380
积分:50625 加为好友
威望: 21 精华: 3
主题:88 回复:30687
注册时间:2012-05-07
在线时长:0
10#   发表于:2013-01-12 16:17:27  IP:220.40.*.*
项目名称呢?您是安装版的就是http://localhost:8080,这也要看你tomcat端口号是不是8080呀】
功成由勤,业精于勤。
1 2 > >| 共2页