当前位置:   article > 正文

easyexecl 部署到精简班的docker环境,报如下的错误_caused by: java.lang.unsatisfiedlinkerror: /usr/lo

caused by: java.lang.unsatisfiedlinkerror: /usr/local/openjdk-17/lib/libfont
com.alibaba.excel.exception.ExcelGenerateException: java.lang.UnsatisfiedLinkError: /usr/local/openjdk-17/lib/libfontmanager.so: libfreetype.so.6: cannot open shared object file: No such file or directory
  • 1

需要安装字体

RUN yum install fontconfig -y
  • 1

参考:

https://blog.csdn.net/qq_39893313/article/details/127253179

Caused by: java.lang.NoClassDefFoundError: Could not initialize class sun.awt.X11FontManager
  • 1

需要安装字体

RUN yum install dejavu-sans-fonts fontconfig -y
  • 1

参考:

https://blog.csdn.net/Ezreal_King/article/details/108197662

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/菜鸟追梦旅行/article/detail/195544
推荐阅读
相关标签
  

闽ICP备14008679号