Custom configuration files in seperate module are not resolved by Intellij and that prevents application to run via Spring run and makes all properties grayed out and not referenced. But after I run it via Maven once, then Spring run works for some time. It was ok a month before but at some point it has broken.
Here is custom configuration folder:
PropertiesConfig(these files should not have been highligted because of not being resolved):
Properties file(properties are grayed out):