Closed GoogleCodeExporter closed 9 years ago
What version of the ehcache-spring-annotations are you using and what version
of Spring are you using?
Original comment by eric.dalquist
on 16 Jun 2010 at 2:23
ehcache-spring-annotations-1.0.5.jar and Spring 2.0.6
Original comment by srikanth...@gmail.com
on 16 Jun 2010 at 2:27
FYI.. the spring jar is containing
org.springframework.aop.config.AopNamespaceUtils class file and the
registerAutoProxyCreatorIfNecessary method which it says not found
Original comment by srikanth...@gmail.com
on 16 Jun 2010 at 2:43
Spring 2.5 is the minimum required version. Spring 2.0 will not work and we
have no plans to support it.
Original comment by eric.dalquist
on 16 Jun 2010 at 2:49
Sorry to say i have tried with Spring 2.5 as well (just a 30 mints back its
giving same error)
org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected
exception parsing XML document from class path resource
[org/egov/infstr/beanfactory/applicationContext-cache.xml]; nested exception is
java.lang.NoSuchMethodError:
org.springframework.aop.config.AopNamespaceUtils.registerAutoProxyCreatorIfNeces
sary(Lorg/springframework/beans/factory/xml/ParserContext;Lorg/w3c/dom/Element;)
V
Caused by:
java.lang.NoSuchMethodError:
org.springframework.aop.config.AopNamespaceUtils.registerAutoProxyCreatorIfNeces
sary(Lorg/springframework/beans/factory/xml/ParserContext;Lorg/w3c/dom/Element;)
V
at com.googlecode.ehcache.annotations.config.AnnotationDrivenEhCacheBeanDefinitionParser.parse(AnnotationDrivenEhCacheBeanDefinitionParser.java:76)
Original comment by srikanth...@gmail.com
on 16 Jun 2010 at 2:52
Are you sure your classpath is setup correctly with 2.5?
Here is the method in the 2.5 JavaDocs:
http://static.springsource.org/spring/docs/2.5.x/api/org/springframework/aop/con
fig/AopNamespaceUtils.html#registerAutoProxyCreatorIfNecessary(org.springframewo
rk.beans.factory.xml.ParserContext,%20org.w3c.dom.Element)
Original comment by eric.dalquist
on 16 Jun 2010 at 3:05
Original issue reported on code.google.com by
srikanth...@gmail.com
on 16 Jun 2010 at 10:38