I have a bpm4struts controller with a dependency on a <<Service>>
A debug statement in the Controller shows it gets called, but it then calls a method on the <<Service>> that never arrives. The following shows up in the server.log of jBoss 2005-08-15 17:49:20,435 DEBUG [org.springframework.beans.factory.support.DefaultListableBeanFactory] Ignoring constructor [public org.springframework.context.support.ClassPathXmlApplicationContext(java.lang.String) throws org.springframework.beans.BeansException] of bean 'beanRefFactory': Error creating bean with name 'beanRefFactory' defined in URL [jar:file:/C:/programs/org/jboss/server/... snip .../justtrade-core-0.0.jar!/beanRefFactory.xml]: Unsatisfied dependency expressed through constructor argument with index 0 of type [java.lang.String]: Could not convert constructor argument value [[applicationContext.xml, applicationContext-dataSource.xml]] to required type [java.lang.String]: Failed to convert property value of type [java.util.ArrayList] to required type [java.lang.String] The beanRefFactory.xml looks pretty normal. <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd"> <beans> <bean id="beanRefFactory" class="org.springframework.context.support.ClassPathXmlApplicationContext"> <constructor-arg> <list> <value>applicationContext.xml</value> <value>applicationContext-dataSource.xml</value> <!-- beanRefFactory merge-point --> </list> </constructor-arg> </bean> </beans> The applicationContext-dataSource.xml looks ok too. The applicationContext.xml file is now rather big (40 ProxyFactoryBeans), as is my Magic Draw model. I'm stuck. I've spent a day and half trying to track down the datatype conflict and haven't got anywhere. Has anyone else seen this? Can anyone suggest how I can discover which property is [java.util.ArrayList] instead of [java.lang.String]? -- Regards, Hasan _________________________________________________________ Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=3882#3882 Posting to http://forum.andromda.org/ is preferred over posting to the mailing list! ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Andromda-user mailing list Andromda-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/andromda-user