上一页 1 ··· 22 23 24 25 26 27 28 29 30 ··· 41 下一页

2022年10月31日

windows下安装kafka教程

摘要: Windows下安装运行kafka 下载并启动zookeeper 下载并启动zookeeper download 目录下创建文件夹 data和log 进入conf文件夹,复制 “zoo_sample.cfg” 文件并重命名为 “zoo.cfg” 更改 “zoo.cfg” 配置,为自己创建的文件夹 d 阅读全文

posted @ 2022-10-31 00:42 何苦-> 阅读(1746) 评论(0) 推荐(1)

2022年10月30日

pdf 工具类 生成pdf 表单填充 表单合并 pdf转图片 pdf水印

摘要: 包 <dependency> <groupId>commons-io</groupId> <artifactId>commons-io</artifactId> <version>2.4</version> </dependency> <dependency> <groupId>commons-co 阅读全文

posted @ 2022-10-30 23:49 何苦-> 阅读(308) 评论(0) 推荐(0)

java 获取远程PDF文件并批量下载

摘要: package pdf; import cn.hutool.core.date.DateUtil; import cn.hutool.core.io.IoUtil; import cn.hutool.core.util.CharsetUtil; import lombok.extern.slf4j. 阅读全文

posted @ 2022-10-30 21:23 何苦-> 阅读(689) 评论(1) 推荐(1)

2022年10月28日

导出报错cannot be resolved to absolute file path because it does not reside in the file system

摘要: SpringBoot项目打包部署,读取jar里面的文件报错500,异常日志关键提示 cannot be resolved to absolute file path because it does not reside in the file system 报错定位 is = new FileInp 阅读全文

posted @ 2022-10-28 17:38 何苦-> 阅读(1925) 评论(0) 推荐(0)

Java System.getProperty(“java.io.tmpdir“) 获取系统临时目录

摘要: System.getProperty("java.io.tmpdir") 是获取操作系统的缓存临时目录 在windows7中的目录是: C:\Users\登录用户~1\AppData\Local\Temp\ 或者也可以直接去你的应用服务器对应的目录下面去查看,例如tomcat:%CATALINA_H 阅读全文

posted @ 2022-10-28 17:37 何苦-> 阅读(3225) 评论(0) 推荐(0)

2022年10月27日

php在windows上安装kafka扩展

摘要: 一、下载kafka扩展包 链接:https://pecl.php.net/package/rdkafka 二、解压安装包 三、修改php.ini 复制librdkafka.dll 到php\php7.3.4nts\目录下(注意!注意!注意!不是ext文件夹) 复制php_rdkafka.dll放到 阅读全文

posted @ 2022-10-27 19:54 何苦-> 阅读(237) 评论(0) 推荐(0)

2022年10月26日

解决response.setHeader设置下载文件名无效的问题

摘要: response.setHeader设置下载文件名无效 response.setContentType("application/octet-stream"); response.setHeader("Content-Disposition", "attachment; filename=down. 阅读全文

posted @ 2022-10-26 20:12 何苦-> 阅读(2132) 评论(0) 推荐(0)

java 选程获取文件并下载 写文件 下载

摘要: 测试 @Test public void test04() throws Exception { // 测试url String httpUrl = "https://xxx/rest/file-system/operation/download?fileKey=$17753fba-7251-47c 阅读全文

posted @ 2022-10-26 17:04 何苦-> 阅读(162) 评论(0) 推荐(0)

java pdf 表单填充 linux下获取文件路径 linux下获取Resources下文件路径

摘要: 对象转map Map<String, String> map = JSON.parseObject(JSONUtil.toJsonStr(platform), new TypeReference<Map<String, String>>() { }); 生成pdf ByteArrayOutputSt 阅读全文

posted @ 2022-10-26 13:28 何苦-> 阅读(320) 评论(0) 推荐(0)

Java获取URL中的参数 字符串截取

摘要: // 测试url String httpUrl = "https://www.baidu.com/rest/file-system/operation/download?fileKey=$55d7e9fd-3287-4499-9d9e-5cd52f593e4f$3236802050&signatur 阅读全文

posted @ 2022-10-26 11:00 何苦-> 阅读(794) 评论(0) 推荐(0)

上一页 1 ··· 22 23 24 25 26 27 28 29 30 ··· 41 下一页

导航