如何从我正在运行的jar中提取文件夹?只有在我从IDE(我使用IntelliJ IDEA)运行它时,使用new JarFile(getClass().getProtectionDomain().getCodeSource().getLocation().toURI().getPath())
出于某种原因才会向我FileNotFoundException
Access Denied
,"cityid", "count"
"102","2"
"55","31"
"119","7"
"206","1"
"18","2"
"15","1"
"32","3"
"14","1"
"54","2"
"23","85"
"158","3"
"266","1"
"9","1"
"34","1"
"159","1"
"31","1"
"22","2"
"209","2"
"121","4"
"73","12"
"350","2"
"311","2"
"377","2"
"230","7"
"290","1"
"49","2"
"379","2"
"75","1"
"59","6"
"165","3"
"19","8"
"13","40"
"126","13"
"243","12"
"325","1"
"17","1"
"null","235"
"144","2"
"334","1"
"40","12"
"7","34"
"181","40"
"349","4"
。
任何人都知道解决或修复此问题的另一种方法吗?