I am having migration problems moving from 0.8.1 to 1.0RC1 - using Flex 18.104.22.16859.
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 this
[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.
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?
<object id="defaultAutowiringStageProcessor" class="org.springextensions.actionscript.stage.DefaultAutowiringStageProcessor">
<property name="objectSelector" ref="flexStageObjectSelector"/>
<object id="flexStageObjectSelector" class="com.bizsphere.salesweb.spring.ObjectSelector"/>
Thanks and Regards,