Details
Description
Steps to reproduce
Check out castor trunk or make a clean build
Expected
All sub-projects will successfully be built
Actual
jpa-extensions-it fails with
Caused by: org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document fro
m class path resource [org/castor/jpa/scenario/one_to_many/spring-config.xml]; nested exception is java.lang.NoSuchMetho
dError: org.springframework.beans.MutablePropertyValues.add(Ljava/lang/String;Ljava/lang/Object;)Lorg/springframework/be
ans/MutablePropertyValues;
Additional
The issue is caused by different versions of spring-beans:
- 2.5.x is is defined in the main POM
- castor's spring-orm depends on 3.0.2.RELEASE
and the former one shades/hides the latter one.
This can be reproduced on both, the command line and in eclipse.
Attached patch: