|
From: Bronwen C. <bro...@ya...> - 2004-05-25 09:07:15
|
Hi Just tried the CVS version for spring (pre 1.0.2) I have been using
1.0.1, when running my AOP tests I get the following stack trace, the same
happens in weblogic:
java.lang.IncompatibleClassChangeError
at
org.springframework.aop.framework.autoproxy.AbstractAdvisorAutoProxyCreator.
getInterceptorsAndAdvisorsForBean(AbstractAdvisorAutoProxyCreator.java:66)
at
org.springframework.aop.framework.autoproxy.AbstractAutoProxyCreator.postPro
cessAfterInitialization(AbstractAutoProxyCreator.java:209)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory
.applyBeanPostProcessorsAfterInitialization(AbstractAutowireCapableBeanFacto
ry.java:150)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory
.createBean(AbstractAutowireCapableBeanFactory.java:234)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory
.createBean(AbstractAutowireCapableBeanFactory.java:172)
at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(Abstra
ctBeanFactory.java:159)
at
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInst
antiateSingletons(DefaultListableBeanFactory.java:178)
at
org.springframework.context.support.AbstractApplicationContext.refresh(Abstr
actApplicationContext.java:269)
at
org.springframework.context.support.ClassPathXmlApplicationContext.<init>(Cl
assPathXmlApplicationContext.java:58)
this is when upgrading spring.jar and aopalliance.jar. I cannot figure out
what has gone wrong, if I replace spring.jar with the 1.0.1 version,
everything runs with no problems, help :-)
This happens in AbstractAdvisorAutoproxyCreator here:
List advices = findEligibleAdvisors(bean.getClass());
f (advices.isEmpty()) {
return DO_NOT_PROXY;
}
The return DO_NOT_PROXY ends up with the error, the debugger goes no
further??
Thanx in advance
Bronwen
|