springboot打包后jar itext读取字体文件处理
springboot打包后jar itext读取字体文件处理
springboot打包后无法读取文件
通过
InputStream stream = Thread.currentThread().getContextClassLoader().getResourceAsStream(“com/xxx/xxx/xxx/simsun.ttf”);
输入流
byte[] st1 = new byte[s...
原创
2019-06-13 10:55:56 ·
5019 阅读 ·
7 评论