主题 : [JEECMS实战教程系列一]JEECMS下载与项目导入 |
级别: 童生
![]() |
352# 发表于:2012-07-08 11:29:04 IP:115.46.*.*
myeclipse安装了freemark插件 也出现了错误:
在tomcat里面运行: 显示: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 |
||
---|---|---|---|
级别: 童生
![]() |
354# 发表于:2012-07-09 16:48:05 IP:119.41.*.*
kk
|
||
---|---|---|---|
级别: 童生
![]() |
355# 发表于:2012-07-11 12:07:23 IP:20.162.*.*
回复就可以看到,谢谢!
|
||
---|---|---|---|
级别: 解元
![]() |
360# 发表于:2012-07-11 15:58:51 IP:114.17.*.*
顶
|
||
---|---|---|---|