I updated the maven project to use Spring 3.0.7 (from 3.0.5). Now all my junit tests that use
@RunWith(SpringJUnit4ClassRunner.class)
there is no annotation (with the exception below), but only when starting from Eclipse. I am running "Eclipse Indigo Service Release 2". Everything passes when I start the Linux console.
Has anyone come across this before?
java.lang.NoSuchMethodError: org.springframework.core.BridgeMethodResolver.isVisibilityBridgeMethodPair(Ljava/lang/reflect/Method;Ljava/lang/reflect/Method;)Z
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.buildAutowiringMetadata(AutowiredAnnotationBeanPostProcessor.java:346)
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.findAutowiringMetadata(AutowiredAnnotationBeanPostProcessor.java:317)
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessMergedBeanDefinition(AutowiredAnnotationBeanPostProcessor.java:216)
at
etc & so forth...
Kevin source
share