Hi all, tapestry-spring (5.2.6) depends on spring 3 and not spring 2.5, this poses no problems when injecting spring 2.5 beans into tapestry, but fails when trying to inject tapestry services into spring (2.5.x):
Caused by: java.lang.NoSuchMethodError: org.springframework.beans.factory.config.DependencyDescriptor.getAnnotations()[Ljava/lang/annotation/Annotation; at org.apache.tapestry5.internal.spring.TapestryBeanFactory.resolveDependency(TapestryBeanFactory.java:54) at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:412) ... 61 more The problem being that the DependencyDescriptor.getAnnotations() method changed its signature to Annotation[] in spring 3. spring 2.5 [1]: public Object[] getAnnotations() spring 3.x [2]: public Annotation[] getAnnotations() I don't think it's really a big deal (we need to upgrade to spring 3 anyway), but you might want to update "Integrating with Spring Framework" page [3]. Regards, luca [1] http://grepcode.com/file/repo1.maven.org/maven2/org.springframework/spring-beans/2.5.6/org/springframework/beans/factory/config/DependencyDescriptor.java#191 [2] http://grepcode.com/file/repo1.maven.org/maven2/org.springframework/spring-beans/3.0.6.RELEASE/org/springframework/beans/factory/config/DependencyDescriptor.java#225 [3] http://tapestry.apache.org/integrating-with-spring-framework.html --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org