Quote: Did you change any of the defaults that are generated by andromda? (end of quote) I suspected that ... so I created a whole new project with all the same details, recreated the view, controller, service and entity and it all worked. I then replaced the new UML model with the old and BOOM, back to the same problem.
I'm using 3.1-RC1-SNAPSHOT It doesn't seem probable that the literal meaning of the error is true. <constructor-arg> 0 of ClassPathXmlApplicationContext is my applicationContext.xml !! How can that be an ArrayList instead of a String? I assume it means that somewhere within the applicationContext.xml there is bean definition with an ArrayList instead of a String. But how do I find out which? I'm going to try importing a few objects at a time, into the model, and rebuilding each time. Barf!! Is this another of those bugs in which Magic Draw magically re-writes the order of the XML? Quote: When did this start happening? (end of quote) Chronologically? towards the end of the day thursday, just before a long weekend :-( I don't remember all the changes I made. We've only just got Subversion up and working. You can bet I'm going to start using it now. I've noticed three further errors a bit earlier in the logs, but they seem to say the same thing... 2005-08-16 06:04:59,187 DEBUG [org.springframework.beans.factory.support.DefaultListableBeanFactory] Ignoring constructor [public org.springframework.context.support.ClassPathXmlApplicationContext (java.lang.String[],boolean,org.springframework.context.ApplicationContext) throws org.springframework.beans.BeansException] of bean 'beanRefFactory': Error creating bean with name 'beanRefFactory' defined in URL [jar:file:/C:/programs/org/jboss/server/default/tmp/deploy/tmp55730justtrade-app-0.0.ear-contents/justtrade-core-0.0.jar!/beanRefFactory.xml]: Unsatisfied dependency expressed through constructor argument with index 1 of type [boolean]: Ambiguous constructor argument types - did you specify the correct bean references as generic constructor arguments? 2005-08-16 06:04:59,187 DEBUG [org.springframework.beans.factory.support.DefaultListableBeanFactory] Ignoring constructor [public org.springframework.context.support.ClassPathXmlApplicationContext (java.lang.String[],boolean) throws org.springframework.beans.BeansException] of bean 'beanRefFactory': Error creating bean with name 'beanRefFactory' defined in URL [jar:file:/C:/programs/org/jboss/server/default/tmp/deploy/tmp55730justtrade-app-0.0.ear-contents/justtrade-core-0.0.jar!/beanRefFactory.xml]: Unsatisfied dependency expressed through constructor argument with index 1 of type [boolean]: Ambiguous constructor argument types - did you specify the correct bean references as generic constructor arguments? 2005-08-16 06:04:59,187 DEBUG [org.springframework.beans.factory.support.DefaultListableBeanFactory] Ignoring constructor [public org.springframework.context.support.ClassPathXmlApplicationContext (java.lang.String[],org.springframework.context.ApplicationContext) throws org.springframework.beans.BeansException] of bean 'beanRefFactory': Error creating bean with name 'beanRefFactory' defined in URL [jar:file:/C:/programs/org/jboss/server/default/tmp/deploy/tmp55730justtrade-app-0.0.ear-contents/justtrade-core-0.0.jar!/beanRefFactory.xml]: Unsatisfied dependency expressed through constructor argument with index 1 of type [org.springframework.context.ApplicationContext]: Ambiguous constructor argument types - did you specify the correct bean references as generic constructor arguments? -- Regards, Hasan _________________________________________________________ Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=3891#3891 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