Announcement Announcement Module
Collapse

Spring Modules forum decommissioned in favor of Spring Extensions

As the Spring Modules project has been replaced by the Spring Extensions (http://www.springsource.org/extensions) project, this forum has been decommissioned in favour of Spring Extensions one at:
http://forum.springsource.org/forumdisplay.php?f=44

Please see the Spring Extensions home page for a complete list of current projects in Java, .NET and ActionScript. You can also propose one if you want.

Cheers,
Costin Leau
SpringSource - http://www.SpringSource.com- Spring Training, Consulting, and Support - "From the Source"
http://twitter.com/costinl
See more
See less
ehcache-spring-annotations Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • #16
    Give it a try

    Excellent. I shall give it a try and get back to you with any troubles I may face.

    Regards,
    Franklin

    Comment


    • #17
      Hello,

      I'm trying to implement cache with spring 3.2.

      I.m getting this error plze help.........

      Nov 27, 2013 11:19:39 AM org.springframework.context.support.AbstractApplic ationContext prepareRefresh
      INFO: Refreshing org.springframework.context.support.ClassPathXmlAp plicationContext@ab50cd: startup date [Wed Nov 27 11:19:39 IST 2013]; root of context hierarchy
      Nov 27, 2013 11:19:39 AM org.springframework.beans.factory.xml.XmlBeanDefin itionReader loadBeanDefinitions
      INFO: Loading XML bean definitions from class path resource [Beans.xml]
      Nov 27, 2013 11:19:40 AM org.springframework.beans.factory.support.DefaultL istableBeanFactory preInstantiateSingletons
      INFO: Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultL istableBeanFactory@1faba46: defining beans [org.springframework.aop.config.internalAutoProxyCr eator,org.springframework.cache.annotation.Annotat ionCacheOperationSource#0,org.springframework.cach e.interceptor.CacheInterceptor#0,org.springframewo rk.cache.config.internalCacheAdvisor,product,cache Manager,ehcache]; root of factory hierarchy
      Nov 27, 2013 11:19:40 AM org.springframework.beans.factory.support.DefaultS ingletonBeanRegistry destroySingletons
      INFO: Destroying singletons in org.springframework.beans.factory.support.DefaultL istableBeanFactory@1faba46: defining beans [org.springframework.aop.config.internalAutoProxyCr eator,org.springframework.cache.annotation.Annotat ionCacheOperationSource#0,org.springframework.cach e.interceptor.CacheInterceptor#0,org.springframewo rk.cache.config.internalCacheAdvisor,product,cache Manager,ehcache]; root of factory hierarchy
      Exception in thread "main" org.springframework.beans.factory.BeanCreationExce ption: Error creating bean with name 'org.springframework.cache.annotation.AnnotationCa cheOperationSource#0': BeanPostProcessor before instantiation of bean failed; nested exception is java.lang.NoClassDefFoundError: org/aopalliance/aop/Advice
      at org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory.createBean(AbstractAuto wireCapableBeanFactory.java:457)
      at org.springframework.beans.factory.support.Abstract BeanFactory$1.getObject(AbstractBeanFactory.java:2 95)
      at org.springframework.beans.factory.support.DefaultS ingletonBeanRegistry.getSingleton(DefaultSingleton BeanRegistry.java:223)
      at org.springframework.beans.factory.support.Abstract BeanFactory.doGetBean(AbstractBeanFactory.java:292 )
      at org.springframework.beans.factory.support.Abstract BeanFactory.getBean(AbstractBeanFactory.java:194)
      at org.springframework.beans.factory.support.DefaultL istableBeanFactory.preInstantiateSingletons(Defaul tListableBeanFactory.java:626)
      at org.springframework.context.support.AbstractApplic ationContext.finishBeanFactoryInitialization(Abstr actApplicationContext.java:932)
      at org.springframework.context.support.AbstractApplic ationContext.refresh(AbstractApplicationContext.ja va:479)
      at org.springframework.context.support.ClassPathXmlAp plicationContext.<init>(ClassPathXmlApplicationCon text.java:139)
      at org.springframework.context.support.ClassPathXmlAp plicationContext.<init>(ClassPathXmlApplicationCon text.java:83)
      at com.javabeat.MainApp.main(MainApp.java:9)
      Caused by: java.lang.NoClassDefFoundError: org/aopalliance/aop/Advice
      at org.springframework.aop.framework.autoproxy.Abstra ctAutoProxyCreator.isInfrastructureClass(AbstractA utoProxyCreator.java:384)
      at org.springframework.aop.framework.autoproxy.Abstra ctAutoProxyCreator.postProcessBeforeInstantiation( AbstractAutoProxyCreator.java:276)
      at org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory.applyBeanPostProcessors BeforeInstantiation(AbstractAutowireCapableBeanFac tory.java:896)
      at org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory.resolveBeforeInstantiat ion(AbstractAutowireCapableBeanFactory.java:868)
      at org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory.createBean(AbstractAuto wireCapableBeanFactory.java:451)
      ... 10 more
      Caused by: java.lang.ClassNotFoundException: org.aopalliance.aop.Advice
      at java.net.URLClassLoader$1.run(Unknown Source)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.net.URLClassLoader.findClass(Unknown Source)
      at java.lang.ClassLoader.loadClass(Unknown Source)
      at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
      at java.lang.ClassLoader.loadClass(Unknown Source)
      ... 15 more

      Comment

      Working...
      X