我在简单的eclipse java maven项目中使用了一个属性文件。但是当我使用Eclipse执行jar文件时 - >在命令提示符中导出并运行该可执行jar文件我收到以下错误。
C:\Users\Administrator\Desktop>java -jar property.jar
java.io.FileNotFoundException: clientConfig.properties (The system cannot find t
he file specified)
at java.io.FileInputStream.open0(Native Method)
at java.io.FileInputStream.open(Unknown Source)
at java.io.FileInputStream.<init>(Unknown Source)
at java.io.FileInputStream.<init>(Unknown Source)
at com.veni.property.App.main(App.java:19)
构建过程或路径问题有什么问题? 请找到完整的eclipse java maven项目链接。 https://drive.google.com/drive/folders/0B4wkBrJ4uyHMUzFoNERhV1Raams?usp=sharing