I am having migration problems moving from 0.8.1 to 1.0RC1 - using Flex 4.0.0.14159.
1.) Spring has a nasty dependency to the Flex Framework when using Flex Mojos 3.6.1 to build, see this link
2.) at startup, I get the following error message:
As a workaround, I add thisCode:[Fault] exception, information=Error: A class with the name 'org.springextensions.actionscript.ioc.factory.config.flex.FlexPropertyPlaceholderConfigurer' could not be found.
to my application class to force linkage of the class. I could not exactly spot which part of my applicationContext causes the problem. But the container should not have dependencies which must be solved manually outside Spring.Code:private var _flexPropert§yPlaceholderConfigurer:FlexPropertyPlaceholderConfigurer;
3.) I think the documentation on adding an ObjectSelector is wrong; the property in the DefaultAutowiringStageProcessor has been renamed from "selector" to "objectSelector", so I had to change my applicationContext to:
But I still could not get the autowiring back to work. The constructor of my class (ObjectSelector) is called, but approve() is never called. Autowiring completly stopped working. Is anything radically changed in 1.0RC1 that I overlook?Code:<object id="defaultAutowiringStageProcessor" class="org.springextensions.actionscript.stage.DefaultAutowiringStageProcessor"> <property name="objectSelector" ref="flexStageObjectSelector"/> </object> <object id="flexStageObjectSelector" class="com.bizsphere.salesweb.spring.ObjectSelector"/>
Thanks and Regards,
Peter


Reply With Quote
