@ PropertySource always can not find a file, don't know what the reason,
Can only be written in the application. The properties,
The idea reason?
Excuse me, how to solve???
CodePudding user response:
@ ConfigurationProperties (The prefix="ABC. Edf. Application"
)
CodePudding user response:
@ Data//@ PropertySource (" classpath: wxMiniApp. Properties ") @ PropertySource invalid don't know what the reason, should be the idea of reason, can only all is written in the application. The properties of
@ ConfigurationProperties (prefix="wx. Miniapp")
Wrote don't sink
CodePudding user response:
Please refer to https://yao2san.com/article/1115CodePudding user response:
Online for a long time feeling is idea classpath path and the eclipse is different, how to set down under the resources is to find the classpathCodePudding user response:
Your resources is the resource directory? If so, his icon and ordinary package icon is not the same as the foreheadIf not, email, mark directory as - & gt; Resources root
CodePudding user response:
Idea to compile the classes and resources got two folders, at the same levelCodePudding user response:
Sink again!!!!!!CodePudding user response: