Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- at org.springframework.beans.factory.support.AbstractBeanFactory.getBean
- (AbstractBeanFactory.java:195)
- at org.springframework.beans.factory.support.DefaultListableBeanFactory.
- preInstantiateSingletons(DefaultListableBeanFactory.java:703)
- at org.springframework.context.support.AbstractApplicationContext.finish
- BeanFactoryInitialization(AbstractApplicationContext.java:760)
- at org.springframework.context.support.AbstractApplicationContext.refres
- h(AbstractApplicationContext.java:482)
- at org.springframework.context.support.FileSystemXmlApplicationContext.<
- init>(FileSystemXmlApplicationContext.java:140)
- at org.springframework.context.support.FileSystemXmlApplicationContext.<
- init>(FileSystemXmlApplicationContext.java:84)
- at com.vse.uslugi.utilities.logic.SpringContext.bean(SpringContext.java:
- 22)
- at com.vse.uslugi.web.projectKit.ProjectContextListener.updateTopService
- s(ProjectContextListener.java:78)
- at com.vse.uslugi.web.projectKit.ProjectContextListener.contextInitializ
- ed(ProjectContextListener.java:34)
- at org.apache.catalina.core.StandardContext.listenerStart(StandardContex
- t.java:4939)
- at org.apache.catalina.core.StandardContext.startInternal(StandardContex
- t.java:5434)
- at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
- at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase
- .java:901)
- at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:87
- 7)
- at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633)
- at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:976)
- at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:
- 1653)
- at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:44
- 1)
- at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
- at java.util.concurrent.FutureTask.run(FutureTask.java:138)
- at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec
- utor.java:886)
- at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
- .java:908)
- at java.lang.Thread.run(Thread.java:662)
- Caused by: org.springframework.beans.factory.BeanCreationException: Could not au
- towire field: protected com.vse.uslugi.logic.managers.CategoryManager com.vse.us
- lugi.web.CategoryService.categoryManager; nested exception is org.springframewor
- k.beans.factory.BeanCreationException: Error creating bean with name 'categoryMa
- nager' defined in URL [file:D:/IdeaProjects/Vse-uslugi.com/web/src/main/webapp/W
- EB-INF/springMvc-servlet.xml]: Cannot resolve reference to bean 'servicesManager
- ' while setting bean property 'servicesManager'; nested exception is org.springf
- ramework.beans.factory.BeanCreationException: Error creating bean with name 'ser
- vicesManager' defined in URL [file:D:/IdeaProjects/Vse-uslugi.com/web/src/main/w
- ebapp/WEB-INF/springMvc-servlet.xml]: Initialization of bean failed; nested exce
- ption is org.springframework.aop.framework.AopConfigException: Unexpected AOP ex
- ception; nested exception is org.springframework.beans.factory.BeanCreationExcep
- tion: Error creating bean with name 'org.springframework.cache.interceptor.Cache
- Interceptor#0': Cannot resolve reference to bean 'cacheManager' while setting be
- an property 'cacheManager'; nested exception is org.springframework.beans.factor
- y.BeanCreationException: Error creating bean with name 'cacheManager' defined in
- URL [file:D:/IdeaProjects/Vse-uslugi.com/web/src/main/webapp/WEB-INF/springMvc-
- servlet.xml]: Cannot resolve reference to bean 'ehcache' while setting bean prop
- erty 'cacheManager'; nested exception is org.springframework.beans.factory.BeanC
- reationException: Error creating bean with name 'ehcache' defined in URL [file:D
- :/IdeaProjects/Vse-uslugi.com/web/src/main/webapp/WEB-INF/springMvc-servlet.xml]
- : Invocation of init method failed; nested exception is java.lang.NoClassDefFoun
- dError: Could not initialize class net.sf.ehcache.config.ConfigurationFactory
- at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanP
- ostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.j
- ava:508)
- at org.springframework.beans.factory.annotation.InjectionMetadata.inject
- (InjectionMetadata.java:87)
- at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanP
- ostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java
- :289)
- ... 29 more
- Caused by: org.springframework.beans.factory.BeanCreationException: Error creati
- ng bean with name 'categoryManager' defined in URL [file:D:/IdeaProjects/Vse-usl
- ugi.com/web/src/main/webapp/WEB-INF/springMvc-servlet.xml]: Cannot resolve refer
- ence to bean 'servicesManager' while setting bean property 'servicesManager'; ne
- sted exception is org.springframework.beans.factory.BeanCreationException: Error
- creating bean with name 'servicesManager' defined in URL [file:D:/IdeaProjects/
- Vse-uslugi.com/web/src/main/webapp/WEB-INF/springMvc-servlet.xml]: Initializatio
- n of bean failed; nested exception is org.springframework.aop.framework.AopConfi
- gException: Unexpected AOP exception; nested exception is org.springframework.be
- ans.factory.BeanCreationException: Error creating bean with name 'org.springfram
- ework.cache.interceptor.CacheInterceptor#0': Cannot resolve reference to bean 'c
- acheManager' while setting bean property 'cacheManager'; nested exception is org
- .springframework.beans.factory.BeanCreationException: Error creating bean with n
- ame 'cacheManager' defined in URL [file:D:/IdeaProjects/Vse-uslugi.com/web/src/m
- ain/webapp/WEB-INF/springMvc-servlet.xml]: Cannot resolve reference to bean 'ehc
- ache' while setting bean property 'cacheManager'; nested exception is org.spring
- framework.beans.factory.BeanCreationException: Error creating bean with name 'eh
- cache' defined in URL [file:D:/IdeaProjects/Vse-uslugi.com/web/src/main/webapp/W
- EB-INF/springMvc-servlet.xml]: Invocation of init method failed; nested exceptio
- n is java.lang.NoClassDefFoundError: Could not initialize class net.sf.ehcache.c
- onfig.ConfigurationFactory
- at org.springframework.beans.factory.support.BeanDefinitionValueResolver
- .resolveReference(BeanDefinitionValueResolver.java:336)
- at org.springframework.beans.factory.support.BeanDefinitionValueResolver
- .resolveValueIfNecessary(BeanDefinitionValueResolver.java:108)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBean
- Factory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1456)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBean
- Factory.populateBean(AbstractAutowireCapableBeanFactory.java:1197)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBean
- Factory.doCreateBean(AbstractAutowireCapableBeanFactory.java:537)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBean
- Factory.createBean(AbstractAutowireCapableBeanFactory.java:475)
- at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBe
- an(AbstractBeanFactory.java:323)
- at org.springframework.beans.factory.support.AbstractBeanFactory.getBean
- (AbstractBeanFactory.java:195)
- at org.springframework.beans.factory.support.DefaultListableBeanFactory.
- findAutowireCandidates(DefaultListableBeanFactory.java:1017)
- at org.springframework.beans.factory.support.DefaultListableBeanFactory.
- doResolveDependency(DefaultListableBeanFactory.java:960)
- at org.springframework.beans.factory.support.DefaultListableBeanFactory.
- resolveDependency(DefaultListableBeanFactory.java:858)
- at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanP
- ostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.j
- ava:480)
- ... 31 more
- Caused by: org.springframework.beans.factory.BeanCreationException: Error creati
- ng bean with name 'servicesManager' defined in URL [file:D:/IdeaProjects/Vse-usl
- ugi.com/web/src/main/webapp/WEB-INF/springMvc-servlet.xml]: Initialization of be
- an failed; nested exception is org.springframework.aop.framework.AopConfigExcept
- ion: Unexpected AOP exception; nested exception is org.springframework.beans.fac
- tory.BeanCreationException: Error creating bean with name 'org.springframework.c
- ache.interceptor.CacheInterceptor#0': Cannot resolve reference to bean 'cacheMan
- ager' while setting bean property 'cacheManager'; nested exception is org.spring
- framework.beans.factory.BeanCreationException: Error creating bean with name 'ca
- cheManager' defined in URL [file:D:/IdeaProjects/Vse-uslugi.com/web/src/main/web
- app/WEB-INF/springMvc-servlet.xml]: Cannot resolve reference to bean 'ehcache' w
- hile setting bean property 'cacheManager'; nested exception is org.springframewo
- rk.beans.factory.BeanCreationException: Error creating bean with name 'ehcache'
- defined in URL [file:D:/IdeaProjects/Vse-uslugi.com/web/src/main/webapp/WEB-INF/
- springMvc-servlet.xml]: Invocation of init method failed; nested exception is ja
- va.lang.NoClassDefFoundError: Could not initialize class net.sf.ehcache.config.C
- onfigurationFactory
- at org.springframework.beans.factory.support.AbstractAutowireCapableBean
- Factory.doCreateBean(AbstractAutowireCapableBeanFactory.java:547)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBean
- Factory.createBean(AbstractAutowireCapableBeanFactory.java:475)
- at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBe
- an(AbstractBeanFactory.java:323)
- at org.springframework.beans.factory.support.AbstractBeanFactory.getBean
- (AbstractBeanFactory.java:195)
- at org.springframework.beans.factory.support.BeanDefinitionValueResolver
- .resolveReference(BeanDefinitionValueResolver.java:328)
- ... 42 more
- Caused by: org.springframework.aop.framework.AopConfigException: Unexpected AOP
- exception; nested exception is org.springframework.beans.factory.BeanCreationExc
- eption: Error creating bean with name 'org.springframework.cache.interceptor.Cac
- heInterceptor#0': Cannot resolve reference to bean 'cacheManager' while setting
- bean property 'cacheManager'; nested exception is org.springframework.beans.fact
- ory.BeanCreationException: Error creating bean with name 'cacheManager' defined
- in URL [file:D:/IdeaProjects/Vse-uslugi.com/web/src/main/webapp/WEB-INF/springMv
- c-servlet.xml]: Cannot resolve reference to bean 'ehcache' while setting bean pr
- operty 'cacheManager'; nested exception is org.springframework.beans.factory.Bea
- nCreationException: Error creating bean with name 'ehcache' defined in URL [file
- :D:/IdeaProjects/Vse-uslugi.com/web/src/main/webapp/WEB-INF/springMvc-servlet.xm
- l]: Invocation of init method failed; nested exception is java.lang.NoClassDefFo
- undError: Could not initialize class net.sf.ehcache.config.ConfigurationFactory
- at org.springframework.aop.framework.CglibAopProxy.getProxy(CglibAopProx
- y.java:218)
- at org.springframework.aop.framework.ProxyFactory.getProxy(ProxyFactory.
- java:109)
- at org.springframework.aop.framework.autoproxy.AbstractAutoProxyCreator.
- createProxy(AbstractAutoProxyCreator.java:494)
- at org.springframework.aop.framework.autoproxy.AbstractAutoProxyCreator.
- wrapIfNecessary(AbstractAutoProxyCreator.java:379)
- at org.springframework.aop.framework.autoproxy.AbstractAutoProxyCreator.
- postProcessAfterInitialization(AbstractAutoProxyCreator.java:339)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBean
- Factory.applyBeanPostProcessorsAfterInitialization(AbstractAutowireCapableBeanFa
- ctory.java:421)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBean
- Factory.initializeBean(AbstractAutowireCapableBeanFactory.java:1558)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBean
- Factory.doCreateBean(AbstractAutowireCapableBeanFactory.java:539)
- ... 46 more
- Caused by: org.springframework.beans.factory.BeanCreationException: Error creati
- ng bean with name 'org.springframework.cache.interceptor.CacheInterceptor#0': Ca
- nnot resolve reference to bean 'cacheManager' while setting bean property 'cache
- Manager'; nested exception is org.springframework.beans.factory.BeanCreationExce
- ption: Error creating bean with name 'cacheManager' defined in URL [file:D:/Idea
- Projects/Vse-uslugi.com/web/src/main/webapp/WEB-INF/springMvc-servlet.xml]: Cann
- ot resolve reference to bean 'ehcache' while setting bean property 'cacheManager
- '; nested exception is org.springframework.beans.factory.BeanCreationException:
- Error creating bean with name 'ehcache' defined in URL [file:D:/IdeaProjects/Vse
- -uslugi.com/web/src/main/webapp/WEB-INF/springMvc-servlet.xml]: Invocation of in
- it method failed; nested exception is java.lang.NoClassDefFoundError: Could not
- initialize class net.sf.ehcache.config.ConfigurationFactory
- at org.springframework.beans.factory.support.BeanDefinitionValueResolver
- .resolveReference(BeanDefinitionValueResolver.java:336)
- at org.springframework.beans.factory.support.BeanDefinitionValueResolver
- .resolveValueIfNecessary(BeanDefinitionValueResolver.java:108)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBean
- Factory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1456)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBean
- Factory.populateBean(AbstractAutowireCapableBeanFactory.java:1197)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBean
- Factory.doCreateBean(AbstractAutowireCapableBeanFactory.java:537)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBean
- Factory.createBean(AbstractAutowireCapableBeanFactory.java:475)
- at org.springframework.beans.factory.support.AbstractBeanFactory$1.getOb
- ject(AbstractBeanFactory.java:304)
- at org.springframework.beans.factory.support.DefaultSingletonBeanRegistr
- y.getSingleton(DefaultSingletonBeanRegistry.java:228)
- at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBe
- an(AbstractBeanFactory.java:300)
- at org.springframework.beans.factory.support.AbstractBeanFactory.getBean
- (AbstractBeanFactory.java:200)
- at org.springframework.aop.support.AbstractBeanFactoryPointcutAdvisor.ge
- tAdvice(AbstractBeanFactoryPointcutAdvisor.java:88)
- at org.springframework.aop.framework.CglibAopProxy$ProxyCallbackFilter.h
- ashCode(CglibAopProxy.java:930)
- at org.springframework.cglib.proxy.Enhancer$EnhancerKey$$KeyFactoryByCGL
- IB$$4ce19e8f.hashCode(<generated>)
- at java.util.HashMap.get(HashMap.java:300)
- at org.springframework.cglib.core.AbstractClassGenerator.create(Abstract
- ClassGenerator.java:199)
- at org.springframework.cglib.proxy.Enhancer.createHelper(Enhancer.java:3
- 77)
- at org.springframework.cglib.proxy.Enhancer.createClass(Enhancer.java:31
- 7)
- at org.springframework.aop.framework.ObjenesisCglibAopProxy.createProxyC
- lassAndInstance(ObjenesisCglibAopProxy.java:57)
- at org.springframework.aop.framework.CglibAopProxy.getProxy(CglibAopProx
- y.java:202)
- ... 53 more
- Caused by: org.springframework.beans.factory.BeanCreationException: Error creati
- ng bean with name 'cacheManager' defined in URL [file:D:/IdeaProjects/Vse-uslugi
- .com/web/src/main/webapp/WEB-INF/springMvc-servlet.xml]: Cannot resolve referenc
- e to bean 'ehcache' while setting bean property 'cacheManager'; nested exception
- is org.springframework.beans.factory.BeanCreationException: Error creating bean
- with name 'ehcache' defined in URL [file:D:/IdeaProjects/Vse-uslugi.com/web/src
- /main/webapp/WEB-INF/springMvc-servlet.xml]: Invocation of init method failed; n
- ested exception is java.lang.NoClassDefFoundError: Could not initialize class ne
- t.sf.ehcache.config.ConfigurationFactory
- at org.springframework.beans.factory.support.BeanDefinitionValueResolver
- .resolveReference(BeanDefinitionValueResolver.java:336)
- at org.springframework.beans.factory.support.BeanDefinitionValueResolver
- .resolveValueIfNecessary(BeanDefinitionValueResolver.java:108)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBean
- Factory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1456)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBean
- Factory.populateBean(AbstractAutowireCapableBeanFactory.java:1197)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBean
- Factory.doCreateBean(AbstractAutowireCapableBeanFactory.java:537)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBean
- Factory.createBean(AbstractAutowireCapableBeanFactory.java:475)
- at org.springframework.beans.factory.support.AbstractBeanFactory$1.getOb
- ject(AbstractBeanFactory.java:304)
- at org.springframework.beans.factory.support.DefaultSingletonBeanRegistr
- y.getSingleton(DefaultSingletonBeanRegistry.java:228)
- at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBe
- an(AbstractBeanFactory.java:300)
- at org.springframework.beans.factory.support.AbstractBeanFactory.getBean
- (AbstractBeanFactory.java:195)
- at org.springframework.beans.factory.support.BeanDefinitionValueResolver
- .resolveReference(BeanDefinitionValueResolver.java:328)
- ... 71 more
- Caused by: org.springframework.beans.factory.BeanCreationException: Error creati
- ng bean with name 'ehcache' defined in URL [file:D:/IdeaProjects/Vse-uslugi.com/
- web/src/main/webapp/WEB-INF/springMvc-servlet.xml]: Invocation of init method fa
- iled; nested exception is java.lang.NoClassDefFoundError: Could not initialize c
- lass net.sf.ehcache.config.ConfigurationFactory
- at org.springframework.beans.factory.support.AbstractAutowireCapableBean
- Factory.initializeBean(AbstractAutowireCapableBeanFactory.java:1553)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBean
- Factory.doCreateBean(AbstractAutowireCapableBeanFactory.java:539)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBean
- Factory.createBean(AbstractAutowireCapableBeanFactory.java:475)
- at org.springframework.beans.factory.support.AbstractBeanFactory$1.getOb
- ject(AbstractBeanFactory.java:304)
- at org.springframework.beans.factory.support.DefaultSingletonBeanRegistr
- y.getSingleton(DefaultSingletonBeanRegistry.java:228)
- at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBe
- an(AbstractBeanFactory.java:300)
- at org.springframework.beans.factory.support.AbstractBeanFactory.getBean
- (AbstractBeanFactory.java:195)
- at org.springframework.beans.factory.support.BeanDefinitionValueResolver
- .resolveReference(BeanDefinitionValueResolver.java:328)
- ... 81 more
- Caused by: java.lang.NoClassDefFoundError: Could not initialize class net.sf.ehc
- ache.config.ConfigurationFactory
- at org.springframework.cache.ehcache.EhCacheManagerFactoryBean.afterProp
- ertiesSet(EhCacheManagerFactoryBean.java:140)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBean
- Factory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1612)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBean
- Factory.initializeBean(AbstractAutowireCapableBeanFactory.java:1549)
- ... 88 more
- 18 уЁєф 2014 20:58:38 org.apache.catalina.core.StandardContext startInternal
- SEVERE: Error listenerStart
- 18 уЁєф 2014 20:58:38 org.apache.catalina.core.StandardContext startInternal
- SEVERE: Context [/vse-uslugi.com] startup failed due to previous errors
- 18 уЁєф 2014 20:58:38 org.apache.catalina.core.ApplicationContext log
- INFO: Closing Spring root WebApplicationContext
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement