Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Labels:None
-
Number of attachments :
Description
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'broker' defined in ServletContext resource [/WEB-INF/applicationContext-messaging.xml]: Invocation of init method failed; nested exception is java.lang.NoSuchMethodError: org.springframework.beans.MutablePropertyValues.addPropertyValue(Ljava/lang/String;Ljava/lang/Object;)V
java.lang.NoSuchMethodError: org.springframework.beans.MutablePropertyValues.addPropertyValue(Ljava/lang/String;Ljava/lang/Object;)V
at org.xbean.spring.context.impl.XBeanXmlBeanDefinitionParser.addProperty(XBeanXmlBeanDefinitionParser.java:246)
at org.xbean.spring.context.impl.XBeanXmlBeanDefinitionParser.addAttributeProperty(XBeanXmlBeanDefinitionParser.java:236)
at org.xbean.spring.context.impl.XBeanXmlBeanDefinitionParser.addAttributeProperties(XBeanXmlBeanDefinitionParser.java:196)
at org.xbean.spring.context.impl.XBeanXmlBeanDefinitionParser.parseBeanFromExtensionElement(XBeanXmlBeanDefinitionParser.java:132)
at org.xbean.spring.context.impl.XBeanXmlBeanDefinitionParser.parseBeanD
The corresponding method is still available in Spring 2.0 M2.
Activity
| Field | Original Value | New Value |
|---|---|---|
| Attachment | XBeanXmlBeanDefinitionReader.java [ 20416 ] |
I'm pretty sure this has to do with the fact the as of M2, Spring is compiled completely with Java 5. This doesn't mean that XBean needs to be, just that the bytecode signatures for functions may have changed and XBean just needs to be recompiled against it. Just a thought.