Announcement Announcement Module
Collapse
No announcement yet.
PropertyPlaceholderConfigurer Not Reading the property Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • PropertyPlaceholderConfigurer Not Reading the property

    Hi,
    I'm using PropertyPlaceholderConfigurer to load the properties from the property file.
    If I didn't have a new line placed for the last key in the property file, PropertyPlaceholderConfigurer is not able to load the property.

    Example:
    test.properties
    ===========
    Key1=ALPHA
    Key2=BETA
    Key3=GAMMA
    \n

    Key3 will not load if I didn't added the new line @ the EOF.

    Any help ?

  • #2
    This question is probably a better candidate for StackOverflow, perhaps with the "spring" tag. Could you post your question there?

    If you don't get a solution to your issue there, could you submit a test case here and create a JIRA issue? Thanks!

    The forums are moving to stackoverflow, a page explaining all this will be available there in a few days: http://spring.io/questions

    Comment

    Working...
    X