Results 1 to 2 of 2

Thread: FlexPropertyPlaceholderConfigurer could not be found?

  1. #1
    Join Date
    Jan 2010
    Posts
    1

    Default FlexPropertyPlaceholderConfigurer could not be found?

    Hi, there! I use springactionscript 1.0RC1 and found an error as following:

    Error: A class with the name 'org.springextensions.actionscript.ioc.factory.con fig.flex.FlexPropertyPlaceholderConfigurer' could not be found.
    Are you sure the specified class has been compiled?
    Look for more information on this topic here:
    http://www.springactionscript.org/do...inclusion.html

    and my applicationContext.xml is

    <objects>
    <property file="config.properties" required="false" />
    <object id="constants" class="com.libsys.utils.Constants">
    <property name="endpoint" value="${endpoint}" />
    </object>
    </objects>

    If the xml file has no properties file, it works fine. I don't know how this happens, could you tell me how to solve it? Thank you!

    BTW, my compiler version is 4.1.0.14632 and springactionscrip is 1.0RC1.

  2. #2
    Join Date
    Oct 2008
    Location
    Belgium
    Posts
    160

    Default

    Hi,

    are you using the XMLApplicationContext or the FlexXMLApplicationContext?

    If you are in a Flex project then you'll need to use the FlexXMLApplicationContext and the class will be compiled in it. If not, then just reference the class somewhere so it gets compiled.

    regards,
    Christophe
    Christophe Herreman
    Spring ActionScript Founder
    http://www.herrodius.com

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •