System.out.println(HSSFWorkbook.class.getProtectionDomain().getCodeSource().getLocation()); 查看你用的是那一个类