今天把WAS迁移到新服务器上,启动应用程序后,有报错内容如下:

创建的异常:net.sf.jasperreports.engine.util.JRFontNotFoundException: Font '宋体' is not available to the JVM. See the Javadoc for more details.

环境介绍:

SUSE LINUX 11.2 64bit

IBM WAS ND7.0.0.29

原因:日志已明确说JVM 宋体字体不可用。

解决办法:

重新安装宋体字符,步骤如下:

1、simfang.ttf拷贝到/usr/share/fonts下面

2、依次执行下列命令

  mkfontscale

  mkfontdir

  fc-cache

3、重启操作系统,重启WAS

4、simfang.ttf这个是字体文件,可以在windowsXP里找,C:\WINDOWS\Fonts这个目录中有

转载于:https://blog.51cto.com/168ok8/1254380

WAS 报错 Font '宋体' is not available to the JVM相关推荐

  1. iReport生成报错Font ‘楷体‘ is not available to the JVM.

    以下是生成表单过程中产生的日志,最终生成的字体并非楷体: 2022-11-16 16:42:08.297 WARN 1 --- [ XNIO-1 task-46] n.s.jasperreports. ...

  2. IEEE pdf eXpress 报错Font TimesNewRomanPSMT is not embedded

    IEEE pdf eXpress 报错Font TimesNewRomanPSMT is not embedded @date:2022/09/28 @author: SUFEHeisenberg 在 ...

  3. UOS Font ‘宋体‘ is not available to the JVM

    统信uos 运行java项目打印字体缺失解决方法 问题 解决方式 jvm安装解决方式 问题 在使用打印功能时报错: net.sf.jasperreports.engine.util.JRFontNot ...

  4. 解决Centos 7 下 tomcat字体异常 Font '宋体' is not available to the JVM

    错误提示: SEVERE: Servlet.service() for servlet [example] in context with path [/myproject] threw except ...

  5. Font '宋体' is not available to the JVM. See the Javadoc for more details.

    Web项目集成Jasperreport出现错误"Font '宋体' is not available to the JVM. See the Javadoc for more details ...

  6. centos 7 java fonts_解决Centos 7 下 tomcat字体异常 Font '宋体' is not available to the JVM

    错误提示: SEVERE: Servlet.service() for servlet [example] in context with path [/myproject] threw except ...

  7. vnc报错 font catalog is not properly configured

    启动vnc报错: starting vnc server : WARNING: the first attempt to star Xvnc failed,possibly because the f ...

  8. IEEE 会议论文PDF eXpress 检查报错“Font Helvetica-Bold, TimesNewRomanPS-BoldMT, ..., is not embedded”

    报错如下: 可以发现缺少四种字体没有嵌入. 通过此方法,将后三种字体嵌入. 通过此方法,将第一种字体嵌入. 由于 Matlab 导出的 eps 可能有白边,可以现将其转化为 PDF,然后对 PDF 做 ...

  9. IEEE PDF Express 报错Font Helvetica, Times-Roman is not embedded

    一.IEEE PDF Express 报错 最悲惨的是同一个地方跌倒两次,去年这个时候,我就遇到了这个问题,经过百度的广泛搜索,终于解决了.然而今年我又遇到了同样的问题-立马哭唧唧,这才认识到了写博客 ...

最新文章

  1. UIActivityViewController使用
  2. windows 技术篇 - uispy 工具获取和使用,windows窗口属性快捷查看工具
  3. 华为v9计算机在哪方面的应用,华为荣耀V9和华为Mate9区别在哪 哪款更好?
  4. 64. Minimum Path Sum
  5. linux-basic(12)正则表达式与文件格式化处理
  6. java两个字符串 相隔天数_关于Java: Joda-Time时间中两个日期之间的天数
  7. 王立平--android事件监听的3种方式
  8. 语义分割之VOC2012、Cityscapes数据集介绍
  9. Java实现斯皮尔曼相关系数(Spearman)及T检验
  10. 计算机做电池模拟,探讨锂电领域常用模拟计算方法
  11. Pycharm制作搞怪弹窗(声音强制最大,屏幕亮度强制最亮,按钮躲避,弹窗炸弹)
  12. Could not found global transaction xid
  13. 随机变量概率分布函数汇总-离散型分布+连续型分布
  14. 【WiFi】WiFi 2.4G信道国家码对应关系
  15. 用python实现围棋(动图演示+源码分享)
  16. Android 常用控件详解
  17. mtr--- 网络诊断工具
  18. python打字_使用Python编写打字训练小程序
  19. Byte Pair Encoding
  20. 华为交换机导入配置_华为交换机通用配置方式方法

热门文章

  1. linux中的dup和fcntl的用法
  2. linux下cron定时任务的总结
  3. 【ubuntu】ubuntu如何改变系统用户名
  4. BZOJ2115XOR——线性基
  5. I/O复用的 select poll和epoll的简单实现
  6. 线程间通信————同步
  7. UNIX网络编程笔记(6):I/O复用之select函数
  8. idea出现找不到实体类
  9. UML-- plantUML安装
  10. django开发商城(提供初始数据,商城首页及购物车)