12 2021 档案

摘要:https://blog.csdn.net/wxw1997a/article/details/116755542 阅读全文
posted @ 2021-12-22 17:39 半柠檬 阅读(49) 评论(0) 推荐(0) 编辑
摘要:ClassPathResource resource = new ClassPathResource("static/office_template/word_replace_tpl.docx"); File sourceFile = resource.getFile(); InputStream 阅读全文
posted @ 2021-12-21 18:54 半柠檬 阅读(80) 评论(0) 推荐(0) 编辑
摘要:真是处处都是坑,一步一个坑。 因为log4j2的漏洞暴露的原因,整改项目中的所有使用log4j2的日志打印,更换为logback 结果代码更换完后,项目直接启动不起了 直接上报错: 09:39:22,934 |-ERROR in ch.qos.logback.core.joran.spi.Inter 阅读全文
posted @ 2021-12-17 14:25 半柠檬 阅读(216) 评论(0) 推荐(0) 编辑
摘要:java对于word的操作目前开源的一个是poi,另一个是itext。先说一下这两者本人在这几天使用的体验,itext用起来方便快捷,操作比较简单,但是itext对于word的操作版本比较低一直停留二点几版本,高版本的都是对pdf的操作,感觉开发者似乎放弃了word的版本,以至于找遍全网也找不出it 阅读全文
posted @ 2021-12-14 18:44 半柠檬 阅读(982) 评论(0) 推荐(0) 编辑
摘要:导入依赖 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-test</artifactId> </dependency> <dependency> <groupId>junit</gro 阅读全文
posted @ 2021-12-07 17:04 半柠檬 阅读(9640) 评论(0) 推荐(0) 编辑