maven project, can not find the file under the resource, add the following code to the pom file, you can.
<resource> <directory> src/main/resources</directory> <filtering>true</filtering></resource>
<resource> <directory> src/main/resources</directory> <filtering>true</filtering></resource>