A maven project contains many sub modules are created using maven, now son module has many same properties configuration files, modules will pass the spring bean attributes in the read directly, namely the classpath: XXXX. Propertity, want to put these configuration files into a father in the module, and how to reference the properties child module configuration file?? Online, etc., urgent urgent!!!!!
CodePudding user response:
This issue has been resolved, it is the child module can be through the relative path to the request to the properties of the parent module file
CodePudding user response:
With a common configuration module
CodePudding user response:
Can you point in detail? I also encountered the problem: in the parent module defines the spring. The version, take less than child module