In java project configuration file can not be loaded

When there are multiple profiles, our usual practice is to build a directory of these configuration files in the directory, but can not be loaded in the configuration file Shique loads, even if the path also wrote the way,

This is because the project file is loaded by default src directory, but not the directory we created in the src directory, see the screenshot below

I config directory is used to store directory configuration file, then modify the path in any case can not be loaded successfully, because the path is loaded by default src, by right-project ----- build path --- configure build path- --source can view

Road King by loading conditions can be achieved loaded add Folder profile select the appropriate directory,

 

Guess you like

Origin www.cnblogs.com/zhaolei1996/p/10986642.html