Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Spring context:property-placeholder not loading properties

  • 06-08-2012 3:16pm
    #1
    Closed Accounts Posts: 6,075 ✭✭✭


    Hi all,

    I have a Spring config file with one bean. The bean has 2 properties that are populated from a properties file. I am using the following config in my Spring file to copy the values in but it does not seem to be working.

    <context: property-placeholder ignore-resource-not-found="true"
    system-properties-mode="NEVER"
    location="classpath:my.properties"/>
    The weird thing is - this has worked before. Can anyone tell me why this would not be successful in copying the properties across?

    I know the infomation given is scant. I'll add elaborate if needs be.

    Thanks,
    Walrus


Advertisement