Advertisement
Guest User

Untitled

a guest
Dec 18th, 2014
309
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 19.72 KB | None | 0 0
  1. at org.springframework.beans.factory.support.AbstractBeanFactory.getBean
  2. (AbstractBeanFactory.java:195)
  3. at org.springframework.beans.factory.support.DefaultListableBeanFactory.
  4. preInstantiateSingletons(DefaultListableBeanFactory.java:703)
  5. at org.springframework.context.support.AbstractApplicationContext.finish
  6. BeanFactoryInitialization(AbstractApplicationContext.java:760)
  7. at org.springframework.context.support.AbstractApplicationContext.refres
  8. h(AbstractApplicationContext.java:482)
  9. at org.springframework.context.support.FileSystemXmlApplicationContext.<
  10. init>(FileSystemXmlApplicationContext.java:140)
  11. at org.springframework.context.support.FileSystemXmlApplicationContext.<
  12. init>(FileSystemXmlApplicationContext.java:84)
  13. at com.vse.uslugi.utilities.logic.SpringContext.bean(SpringContext.java:
  14. 22)
  15. at com.vse.uslugi.web.projectKit.ProjectContextListener.updateTopService
  16. s(ProjectContextListener.java:78)
  17. at com.vse.uslugi.web.projectKit.ProjectContextListener.contextInitializ
  18. ed(ProjectContextListener.java:34)
  19. at org.apache.catalina.core.StandardContext.listenerStart(StandardContex
  20. t.java:4939)
  21. at org.apache.catalina.core.StandardContext.startInternal(StandardContex
  22. t.java:5434)
  23. at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
  24. at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase
  25. .java:901)
  26. at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:87
  27. 7)
  28. at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633)
  29.  
  30. at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:976)
  31.  
  32. at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:
  33. 1653)
  34. at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:44
  35. 1)
  36. at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
  37. at java.util.concurrent.FutureTask.run(FutureTask.java:138)
  38. at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec
  39. utor.java:886)
  40. at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
  41. .java:908)
  42. at java.lang.Thread.run(Thread.java:662)
  43. Caused by: org.springframework.beans.factory.BeanCreationException: Could not au
  44. towire field: protected com.vse.uslugi.logic.managers.CategoryManager com.vse.us
  45. lugi.web.CategoryService.categoryManager; nested exception is org.springframewor
  46. k.beans.factory.BeanCreationException: Error creating bean with name 'categoryMa
  47. nager' defined in URL [file:D:/IdeaProjects/Vse-uslugi.com/web/src/main/webapp/W
  48. EB-INF/springMvc-servlet.xml]: Cannot resolve reference to bean 'servicesManager
  49. ' while setting bean property 'servicesManager'; nested exception is org.springf
  50. ramework.beans.factory.BeanCreationException: Error creating bean with name 'ser
  51. vicesManager' defined in URL [file:D:/IdeaProjects/Vse-uslugi.com/web/src/main/w
  52. ebapp/WEB-INF/springMvc-servlet.xml]: Initialization of bean failed; nested exce
  53. ption is org.springframework.aop.framework.AopConfigException: Unexpected AOP ex
  54. ception; nested exception is org.springframework.beans.factory.BeanCreationExcep
  55. tion: Error creating bean with name 'org.springframework.cache.interceptor.Cache
  56. Interceptor#0': Cannot resolve reference to bean 'cacheManager' while setting be
  57. an property 'cacheManager'; nested exception is org.springframework.beans.factor
  58. y.BeanCreationException: Error creating bean with name 'cacheManager' defined in
  59. URL [file:D:/IdeaProjects/Vse-uslugi.com/web/src/main/webapp/WEB-INF/springMvc-
  60. servlet.xml]: Cannot resolve reference to bean 'ehcache' while setting bean prop
  61. erty 'cacheManager'; nested exception is org.springframework.beans.factory.BeanC
  62. reationException: Error creating bean with name 'ehcache' defined in URL [file:D
  63. :/IdeaProjects/Vse-uslugi.com/web/src/main/webapp/WEB-INF/springMvc-servlet.xml]
  64. : Invocation of init method failed; nested exception is java.lang.NoClassDefFoun
  65. dError: Could not initialize class net.sf.ehcache.config.ConfigurationFactory
  66. at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanP
  67. ostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.j
  68. ava:508)
  69. at org.springframework.beans.factory.annotation.InjectionMetadata.inject
  70. (InjectionMetadata.java:87)
  71. at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanP
  72. ostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java
  73. :289)
  74. ... 29 more
  75. Caused by: org.springframework.beans.factory.BeanCreationException: Error creati
  76. ng bean with name 'categoryManager' defined in URL [file:D:/IdeaProjects/Vse-usl
  77. ugi.com/web/src/main/webapp/WEB-INF/springMvc-servlet.xml]: Cannot resolve refer
  78. ence to bean 'servicesManager' while setting bean property 'servicesManager'; ne
  79. sted exception is org.springframework.beans.factory.BeanCreationException: Error
  80. creating bean with name 'servicesManager' defined in URL [file:D:/IdeaProjects/
  81. Vse-uslugi.com/web/src/main/webapp/WEB-INF/springMvc-servlet.xml]: Initializatio
  82. n of bean failed; nested exception is org.springframework.aop.framework.AopConfi
  83. gException: Unexpected AOP exception; nested exception is org.springframework.be
  84. ans.factory.BeanCreationException: Error creating bean with name 'org.springfram
  85. ework.cache.interceptor.CacheInterceptor#0': Cannot resolve reference to bean 'c
  86. acheManager' while setting bean property 'cacheManager'; nested exception is org
  87. .springframework.beans.factory.BeanCreationException: Error creating bean with n
  88. ame 'cacheManager' defined in URL [file:D:/IdeaProjects/Vse-uslugi.com/web/src/m
  89. ain/webapp/WEB-INF/springMvc-servlet.xml]: Cannot resolve reference to bean 'ehc
  90. ache' while setting bean property 'cacheManager'; nested exception is org.spring
  91. framework.beans.factory.BeanCreationException: Error creating bean with name 'eh
  92. cache' defined in URL [file:D:/IdeaProjects/Vse-uslugi.com/web/src/main/webapp/W
  93. EB-INF/springMvc-servlet.xml]: Invocation of init method failed; nested exceptio
  94. n is java.lang.NoClassDefFoundError: Could not initialize class net.sf.ehcache.c
  95. onfig.ConfigurationFactory
  96. at org.springframework.beans.factory.support.BeanDefinitionValueResolver
  97. .resolveReference(BeanDefinitionValueResolver.java:336)
  98. at org.springframework.beans.factory.support.BeanDefinitionValueResolver
  99. .resolveValueIfNecessary(BeanDefinitionValueResolver.java:108)
  100. at org.springframework.beans.factory.support.AbstractAutowireCapableBean
  101. Factory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1456)
  102. at org.springframework.beans.factory.support.AbstractAutowireCapableBean
  103. Factory.populateBean(AbstractAutowireCapableBeanFactory.java:1197)
  104. at org.springframework.beans.factory.support.AbstractAutowireCapableBean
  105. Factory.doCreateBean(AbstractAutowireCapableBeanFactory.java:537)
  106. at org.springframework.beans.factory.support.AbstractAutowireCapableBean
  107. Factory.createBean(AbstractAutowireCapableBeanFactory.java:475)
  108. at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBe
  109. an(AbstractBeanFactory.java:323)
  110. at org.springframework.beans.factory.support.AbstractBeanFactory.getBean
  111. (AbstractBeanFactory.java:195)
  112. at org.springframework.beans.factory.support.DefaultListableBeanFactory.
  113. findAutowireCandidates(DefaultListableBeanFactory.java:1017)
  114. at org.springframework.beans.factory.support.DefaultListableBeanFactory.
  115. doResolveDependency(DefaultListableBeanFactory.java:960)
  116. at org.springframework.beans.factory.support.DefaultListableBeanFactory.
  117. resolveDependency(DefaultListableBeanFactory.java:858)
  118. at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanP
  119. ostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.j
  120. ava:480)
  121. ... 31 more
  122. Caused by: org.springframework.beans.factory.BeanCreationException: Error creati
  123. ng bean with name 'servicesManager' defined in URL [file:D:/IdeaProjects/Vse-usl
  124. ugi.com/web/src/main/webapp/WEB-INF/springMvc-servlet.xml]: Initialization of be
  125. an failed; nested exception is org.springframework.aop.framework.AopConfigExcept
  126. ion: Unexpected AOP exception; nested exception is org.springframework.beans.fac
  127. tory.BeanCreationException: Error creating bean with name 'org.springframework.c
  128. ache.interceptor.CacheInterceptor#0': Cannot resolve reference to bean 'cacheMan
  129. ager' while setting bean property 'cacheManager'; nested exception is org.spring
  130. framework.beans.factory.BeanCreationException: Error creating bean with name 'ca
  131. cheManager' defined in URL [file:D:/IdeaProjects/Vse-uslugi.com/web/src/main/web
  132. app/WEB-INF/springMvc-servlet.xml]: Cannot resolve reference to bean 'ehcache' w
  133. hile setting bean property 'cacheManager'; nested exception is org.springframewo
  134. rk.beans.factory.BeanCreationException: Error creating bean with name 'ehcache'
  135. defined in URL [file:D:/IdeaProjects/Vse-uslugi.com/web/src/main/webapp/WEB-INF/
  136. springMvc-servlet.xml]: Invocation of init method failed; nested exception is ja
  137. va.lang.NoClassDefFoundError: Could not initialize class net.sf.ehcache.config.C
  138. onfigurationFactory
  139. at org.springframework.beans.factory.support.AbstractAutowireCapableBean
  140. Factory.doCreateBean(AbstractAutowireCapableBeanFactory.java:547)
  141. at org.springframework.beans.factory.support.AbstractAutowireCapableBean
  142. Factory.createBean(AbstractAutowireCapableBeanFactory.java:475)
  143. at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBe
  144. an(AbstractBeanFactory.java:323)
  145. at org.springframework.beans.factory.support.AbstractBeanFactory.getBean
  146. (AbstractBeanFactory.java:195)
  147. at org.springframework.beans.factory.support.BeanDefinitionValueResolver
  148. .resolveReference(BeanDefinitionValueResolver.java:328)
  149. ... 42 more
  150. Caused by: org.springframework.aop.framework.AopConfigException: Unexpected AOP
  151. exception; nested exception is org.springframework.beans.factory.BeanCreationExc
  152. eption: Error creating bean with name 'org.springframework.cache.interceptor.Cac
  153. heInterceptor#0': Cannot resolve reference to bean 'cacheManager' while setting
  154. bean property 'cacheManager'; nested exception is org.springframework.beans.fact
  155. ory.BeanCreationException: Error creating bean with name 'cacheManager' defined
  156. in URL [file:D:/IdeaProjects/Vse-uslugi.com/web/src/main/webapp/WEB-INF/springMv
  157. c-servlet.xml]: Cannot resolve reference to bean 'ehcache' while setting bean pr
  158. operty 'cacheManager'; nested exception is org.springframework.beans.factory.Bea
  159. nCreationException: Error creating bean with name 'ehcache' defined in URL [file
  160. :D:/IdeaProjects/Vse-uslugi.com/web/src/main/webapp/WEB-INF/springMvc-servlet.xm
  161. l]: Invocation of init method failed; nested exception is java.lang.NoClassDefFo
  162. undError: Could not initialize class net.sf.ehcache.config.ConfigurationFactory
  163. at org.springframework.aop.framework.CglibAopProxy.getProxy(CglibAopProx
  164. y.java:218)
  165. at org.springframework.aop.framework.ProxyFactory.getProxy(ProxyFactory.
  166. java:109)
  167. at org.springframework.aop.framework.autoproxy.AbstractAutoProxyCreator.
  168. createProxy(AbstractAutoProxyCreator.java:494)
  169. at org.springframework.aop.framework.autoproxy.AbstractAutoProxyCreator.
  170. wrapIfNecessary(AbstractAutoProxyCreator.java:379)
  171. at org.springframework.aop.framework.autoproxy.AbstractAutoProxyCreator.
  172. postProcessAfterInitialization(AbstractAutoProxyCreator.java:339)
  173. at org.springframework.beans.factory.support.AbstractAutowireCapableBean
  174. Factory.applyBeanPostProcessorsAfterInitialization(AbstractAutowireCapableBeanFa
  175. ctory.java:421)
  176. at org.springframework.beans.factory.support.AbstractAutowireCapableBean
  177. Factory.initializeBean(AbstractAutowireCapableBeanFactory.java:1558)
  178. at org.springframework.beans.factory.support.AbstractAutowireCapableBean
  179. Factory.doCreateBean(AbstractAutowireCapableBeanFactory.java:539)
  180. ... 46 more
  181. Caused by: org.springframework.beans.factory.BeanCreationException: Error creati
  182. ng bean with name 'org.springframework.cache.interceptor.CacheInterceptor#0': Ca
  183. nnot resolve reference to bean 'cacheManager' while setting bean property 'cache
  184. Manager'; nested exception is org.springframework.beans.factory.BeanCreationExce
  185. ption: Error creating bean with name 'cacheManager' defined in URL [file:D:/Idea
  186. Projects/Vse-uslugi.com/web/src/main/webapp/WEB-INF/springMvc-servlet.xml]: Cann
  187. ot resolve reference to bean 'ehcache' while setting bean property 'cacheManager
  188. '; nested exception is org.springframework.beans.factory.BeanCreationException:
  189. Error creating bean with name 'ehcache' defined in URL [file:D:/IdeaProjects/Vse
  190. -uslugi.com/web/src/main/webapp/WEB-INF/springMvc-servlet.xml]: Invocation of in
  191. it method failed; nested exception is java.lang.NoClassDefFoundError: Could not
  192. initialize class net.sf.ehcache.config.ConfigurationFactory
  193. at org.springframework.beans.factory.support.BeanDefinitionValueResolver
  194. .resolveReference(BeanDefinitionValueResolver.java:336)
  195. at org.springframework.beans.factory.support.BeanDefinitionValueResolver
  196. .resolveValueIfNecessary(BeanDefinitionValueResolver.java:108)
  197. at org.springframework.beans.factory.support.AbstractAutowireCapableBean
  198. Factory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1456)
  199. at org.springframework.beans.factory.support.AbstractAutowireCapableBean
  200. Factory.populateBean(AbstractAutowireCapableBeanFactory.java:1197)
  201. at org.springframework.beans.factory.support.AbstractAutowireCapableBean
  202. Factory.doCreateBean(AbstractAutowireCapableBeanFactory.java:537)
  203. at org.springframework.beans.factory.support.AbstractAutowireCapableBean
  204. Factory.createBean(AbstractAutowireCapableBeanFactory.java:475)
  205. at org.springframework.beans.factory.support.AbstractBeanFactory$1.getOb
  206. ject(AbstractBeanFactory.java:304)
  207. at org.springframework.beans.factory.support.DefaultSingletonBeanRegistr
  208. y.getSingleton(DefaultSingletonBeanRegistry.java:228)
  209. at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBe
  210. an(AbstractBeanFactory.java:300)
  211. at org.springframework.beans.factory.support.AbstractBeanFactory.getBean
  212. (AbstractBeanFactory.java:200)
  213. at org.springframework.aop.support.AbstractBeanFactoryPointcutAdvisor.ge
  214. tAdvice(AbstractBeanFactoryPointcutAdvisor.java:88)
  215. at org.springframework.aop.framework.CglibAopProxy$ProxyCallbackFilter.h
  216. ashCode(CglibAopProxy.java:930)
  217. at org.springframework.cglib.proxy.Enhancer$EnhancerKey$$KeyFactoryByCGL
  218. IB$$4ce19e8f.hashCode(<generated>)
  219. at java.util.HashMap.get(HashMap.java:300)
  220. at org.springframework.cglib.core.AbstractClassGenerator.create(Abstract
  221. ClassGenerator.java:199)
  222. at org.springframework.cglib.proxy.Enhancer.createHelper(Enhancer.java:3
  223. 77)
  224. at org.springframework.cglib.proxy.Enhancer.createClass(Enhancer.java:31
  225. 7)
  226. at org.springframework.aop.framework.ObjenesisCglibAopProxy.createProxyC
  227. lassAndInstance(ObjenesisCglibAopProxy.java:57)
  228. at org.springframework.aop.framework.CglibAopProxy.getProxy(CglibAopProx
  229. y.java:202)
  230. ... 53 more
  231. Caused by: org.springframework.beans.factory.BeanCreationException: Error creati
  232. ng bean with name 'cacheManager' defined in URL [file:D:/IdeaProjects/Vse-uslugi
  233. .com/web/src/main/webapp/WEB-INF/springMvc-servlet.xml]: Cannot resolve referenc
  234. e to bean 'ehcache' while setting bean property 'cacheManager'; nested exception
  235. is org.springframework.beans.factory.BeanCreationException: Error creating bean
  236. with name 'ehcache' defined in URL [file:D:/IdeaProjects/Vse-uslugi.com/web/src
  237. /main/webapp/WEB-INF/springMvc-servlet.xml]: Invocation of init method failed; n
  238. ested exception is java.lang.NoClassDefFoundError: Could not initialize class ne
  239. t.sf.ehcache.config.ConfigurationFactory
  240. at org.springframework.beans.factory.support.BeanDefinitionValueResolver
  241. .resolveReference(BeanDefinitionValueResolver.java:336)
  242. at org.springframework.beans.factory.support.BeanDefinitionValueResolver
  243. .resolveValueIfNecessary(BeanDefinitionValueResolver.java:108)
  244. at org.springframework.beans.factory.support.AbstractAutowireCapableBean
  245. Factory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1456)
  246. at org.springframework.beans.factory.support.AbstractAutowireCapableBean
  247. Factory.populateBean(AbstractAutowireCapableBeanFactory.java:1197)
  248. at org.springframework.beans.factory.support.AbstractAutowireCapableBean
  249. Factory.doCreateBean(AbstractAutowireCapableBeanFactory.java:537)
  250. at org.springframework.beans.factory.support.AbstractAutowireCapableBean
  251. Factory.createBean(AbstractAutowireCapableBeanFactory.java:475)
  252. at org.springframework.beans.factory.support.AbstractBeanFactory$1.getOb
  253. ject(AbstractBeanFactory.java:304)
  254. at org.springframework.beans.factory.support.DefaultSingletonBeanRegistr
  255. y.getSingleton(DefaultSingletonBeanRegistry.java:228)
  256. at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBe
  257. an(AbstractBeanFactory.java:300)
  258. at org.springframework.beans.factory.support.AbstractBeanFactory.getBean
  259. (AbstractBeanFactory.java:195)
  260. at org.springframework.beans.factory.support.BeanDefinitionValueResolver
  261. .resolveReference(BeanDefinitionValueResolver.java:328)
  262. ... 71 more
  263. Caused by: org.springframework.beans.factory.BeanCreationException: Error creati
  264. ng bean with name 'ehcache' defined in URL [file:D:/IdeaProjects/Vse-uslugi.com/
  265. web/src/main/webapp/WEB-INF/springMvc-servlet.xml]: Invocation of init method fa
  266. iled; nested exception is java.lang.NoClassDefFoundError: Could not initialize c
  267. lass net.sf.ehcache.config.ConfigurationFactory
  268. at org.springframework.beans.factory.support.AbstractAutowireCapableBean
  269. Factory.initializeBean(AbstractAutowireCapableBeanFactory.java:1553)
  270. at org.springframework.beans.factory.support.AbstractAutowireCapableBean
  271. Factory.doCreateBean(AbstractAutowireCapableBeanFactory.java:539)
  272. at org.springframework.beans.factory.support.AbstractAutowireCapableBean
  273. Factory.createBean(AbstractAutowireCapableBeanFactory.java:475)
  274. at org.springframework.beans.factory.support.AbstractBeanFactory$1.getOb
  275. ject(AbstractBeanFactory.java:304)
  276. at org.springframework.beans.factory.support.DefaultSingletonBeanRegistr
  277. y.getSingleton(DefaultSingletonBeanRegistry.java:228)
  278. at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBe
  279. an(AbstractBeanFactory.java:300)
  280. at org.springframework.beans.factory.support.AbstractBeanFactory.getBean
  281. (AbstractBeanFactory.java:195)
  282. at org.springframework.beans.factory.support.BeanDefinitionValueResolver
  283. .resolveReference(BeanDefinitionValueResolver.java:328)
  284. ... 81 more
  285. Caused by: java.lang.NoClassDefFoundError: Could not initialize class net.sf.ehc
  286. ache.config.ConfigurationFactory
  287. at org.springframework.cache.ehcache.EhCacheManagerFactoryBean.afterProp
  288. ertiesSet(EhCacheManagerFactoryBean.java:140)
  289. at org.springframework.beans.factory.support.AbstractAutowireCapableBean
  290. Factory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1612)
  291. at org.springframework.beans.factory.support.AbstractAutowireCapableBean
  292. Factory.initializeBean(AbstractAutowireCapableBeanFactory.java:1549)
  293. ... 88 more
  294. 18 уЁєф 2014 20:58:38 org.apache.catalina.core.StandardContext startInternal
  295. SEVERE: Error listenerStart
  296. 18 уЁєф 2014 20:58:38 org.apache.catalina.core.StandardContext startInternal
  297. SEVERE: Context [/vse-uslugi.com] startup failed due to previous errors
  298. 18 уЁєф 2014 20:58:38 org.apache.catalina.core.ApplicationContext log
  299. INFO: Closing Spring root WebApplicationContext
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement