URL fileUrl = DbConfig.class.getClassLoader().getResource(fileName); System.out.println("fileUrl = " + fileUrl.getPath()); InputStream in = fileUrl.openStream(); return FileTool.readToString(in);
URL fileUrl = DbConfig.class.getClassLoader().getResource(fileName); System.out.println("fileUrl = " + fileUrl.getPath()); InputStream in = fileUrl.openStream(); return FileTool.readToString(in);