嗨,我想运行一个java Eclipse项目表单命令行。我尝试制作一个Jar和Runnable Jar (两个选项),在需要时使用清单。我无法解决的问题是,当我的程序试图读取txt文件时,总是会给我一个FileNotFound错误。如何解决此错误?我在网上找不到。= new BufferedReader(new FileReader("CompanyNameListModified.txt"));Exception in thread &q
我正在用maven构建我的jar文件,它们包含所有的依赖项,所以我可以通过在jar中,我有一个config.json,它是应用程序配置。/config.json (No such file or directory)com.test.cloudsync.config.AppConfig.class
如果我在//编辑这个建议是,Exc
我得到了以下Exception Exception in thread "main" java.io.FileNotFoundException: file:/home/test/untitled2/tool/build/libs/tool-1.0.jar!/datasource/reportQuery.txt (No such file or directory) 当我尝试运行groovy jar时,使用以下命令 java