Error creating bean with name 'ureport.fontBuilder' defined in class path resource [ureport-core-context.xml]: Initialization of bean failed; nested exception is java.lang.InternalError:

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ureport.fontBuilder' defined in class path resource [ureport-core-context.xml]: Initialization of bean failed; nested exception is java.lang.InternalError: java.lang.reflect.InvocationTargetException处理解决

linux服务器中文字体库缺失,需要安装

# 安装中文字体和字体工具

sudo yum install -y fontconfig fonts-chinese wqy-zenhei-fonts wqy-microhei-fonts

# 更新字体缓存 安装完成执行刷新缓存

sudo fc-cache -fv

posted @ 2025-04-18 13:18  Fyy发大财  阅读(44)  评论(0)    收藏  举报