我创建了一个Java应用程序,从位于
src/
文件夹中的conf.properties
文件中加载一些配置。在Windows上运行此应用程序时,它可以正常工作。然而,当我尝试在Linux上运行它时,会抛出以下错误:java.io.FileNotFoundException: src/conf.properties (No such file or directory)