Maven Project: Where to Place config.properties File
The 'config.properties' file should be saved in the 'src/main/resources' folder of your Maven project. This is the standard location for resource files in Maven projects. When the project is built, the file will be included in the compiled output and can be accessed using the ClassLoader.getResourceAsStream() method.
原文地址: https://www.cveoy.top/t/topic/nApa 著作权归作者所有。请勿转载和采集!