Announcement Announcement Module
Collapse
No announcement yet.
FlexPropertyPlaceholderConfigurer could not be found? Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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
    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

    Comment

    Working...
    X