I had a problem that looks like a Spring bug, not an Andromda bug. An Entity subclass was named URIAddressDao. At runtime there was this error:
org.springframework.beans.factory.access.BootstrapException: Unable to initialize group definition. Group resource name [classpath*:beanRefFactory.xml], factory key [beanRefFactory]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'beanRefFactory' defined in URL [jar:file:usr/local/jakarta-tomcat-5.5.9/webapps/parties/WEB-INF/lib/parties-core-0.2.jar!/beanRefFactory.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.FatalBeanException: Could not instantiate class [org.springframework.context.support.ClassPathXmlApplicationContext]; constructor threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userServiceTarget' defined in class path resource [applicationContext.xml]: Error setting property values; nested exception is org.springframework.beans.NotWritablePropertyException: Invalid property 'uRIAddressDao' of bean c lass [com.valuechaintocode.service.user.UserServiceImpl]: Bean property 'uRIAddressDao' is not writable or has an invalid setter method: Does the parameter type of the setter match the return type of the getter? I changed the class name and the problem cleared. I guess Spring has a bug with URI beginning a class name. I noticed all DAO base classes have public set methods but protected get methods. Why is that? _________________________________________________________ Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=2416#2416 Posting to http://forum.andromda.org/ is preferred over posting to the mailing list! ------------------------------------------------------- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar _______________________________________________ Andromda-user mailing list Andromda-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/andromda-user