Using multiple property files (via PropertyPlaceholderConfigurer) in multiple projects/modules

前端 未结 5 1086
情书的邮戳
情书的邮戳 2020-12-07 08:41

We are currently writing an application which is split into multiple projects/modules. For example, let\'s take the following modules:

  • myApp-DAO
  • myApp
5条回答
  •  借酒劲吻你
    2020-12-07 08:50

    The PropertiesPlaceholderConfigurer bean has an alternative property called "propertiesArray". Use this instead of the "properties" property, and configure it with an of property references.

提交回复
热议问题