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. ”,提示找不到宋体。
一、windows的字体存放在c:\windows\fonts目录下:拷贝simsun.ttc或整个字体文件
(或者选中所有TTF文件右键安装,会要求输入管理员密码,输入一次就是了。如果这样安装,下面的操作不用再做)。
拷贝过来的字体文件放在/usr/share/fonts/zh_CN目录下。
二、将字体加入到linux的可使用字体中
cd /usr/share/fonts/zh_CN
mkfontscale
mkfontdir fc-cache
三.使用
#locale -a 查看当前系统的字体
修改startWeblogic.sh,在第一行设置LANG环境变量。
export LANG=zh_CN
重新启动weblogic即可。
Font '宋体' is not available to the JVM. See the Javadoc for more details.相关推荐
- Font “新宋体“ is not available to the JVM. See the Javadoc for more details.
检查程序所在环境是否有相应的字体. 如linux: fc-list 没有的话在系统中增加即可,搜索引擎中搜索linux安装字体即可.
- WAS 报错 Font '宋体' is not available to the JVM
今天把WAS迁移到新服务器上,启动应用程序后,有报错内容如下: 创建的异常:net.sf.jasperreports.engine.util.JRFontNotFoundException: Font ...
- 解决Centos 7 下 tomcat字体异常 Font '宋体' is not available to the JVM
错误提示: SEVERE: Servlet.service() for servlet [example] in context with path [/myproject] threw except ...
- 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 ...
- UOS Font ‘宋体‘ is not available to the JVM
统信uos 运行java项目打印字体缺失解决方法 问题 解决方式 jvm安装解决方式 问题 在使用打印功能时报错: net.sf.jasperreports.engine.util.JRFontNot ...
- ireport4.5在JVM中添加新字体解决方案(Font ‘標楷體‘ is not available to the JVM. See the Javadoc for more details.)
ireport4.5在JVM中添加新字体解决方案(Font '標楷體' is not available to the JVM. See the Javadoc for more details.) ...
- Font “xx字体” is not available to the JVM. See the Javadoc for more details. 终极版
windows下有的时候自定义的字体,jvm无法找到 ,但是我是安装到了windows上了,输出的jar报也是添加到系统依赖了,为啥还是报错,有人说修改jasper的默认配置文件,然后重新打包,这样会 ...
- Font\隶书\“ is not available to the JVM See the Javados for more details
这个报错的意思是JVM无法识别字体引起的错误.所以我们要把所需要的字体注册到JVM去. 依赖包 <dependency><groupId>cn.hutool</group ...
- 解决Linux下部署使用JasperReport的项目的错误:net.sf.jasperreports.engine.util.JRFontNotFoundException: Font '宋体' i
CentOS 中部署JasperReport时出错: net.sf.jasperreports.engine.util.JRFontNotFoundException: Font '宋体' is no ...
最新文章
- python常用包下载_Python及其常用模块库下载及安装
- mysql修改编码格式6_修改编码格式MySQL
- 上传文件到服务器的Linux命令
- 03-身体部位-BodyParts(English)
- [转载] c++多态与java多态性_Java中的多态性
- C#调用mciSendString播放音频文件
- 2021年净利润同比增长75.9% 孟晚舟称华为已穿过劫难黑障区
- Linux无root权限安装cuda9.1和cudnn7.05以及编译框架时无lcuda.so的问题
- 2021年中国单硝酸异山梨酯市场趋势报告、技术动态创新及2027年市场预测
- 运维的核心竞争力是什么
- (0.2.2)如何下载mysql数据库(二进制、RPM、源码、YUM源)
- maven jetty指定端口启动
- 如何把HTML背景图片变透明,photoshop怎样把图片背景变透明
- 泛微E9 MVC开发
- Git-删除文件后找回
- UWB室内定位系统的优势与好处
- c51时钟数码管显示流程图_基于51单片机的8位数码管电子时钟仿真图及源代码详细资料概述...
- POJ2386-Lake Counting
- 你非Uber,其实你更应该降低(对,是降低)你的价值链
- 一个人从MyIe到FireFox的转变
热门文章
- 20061025: 用上了 ClearType 字体
- 基于SSM的便利店超市管理系统【数据库设计、源码、开题报告】
- spark期末大作业RDD编程初级实践
- python不能隐藏代码,python隐藏部分代码
- Android4.2 开发者选项在哪里 Developer options
- seal report oracle,甲骨文在线字典
- Mutable variable is accessible from closure
- HDMI1.3版本跟1.4版 2.0版本
- Git安装包下载地址
- 大型计算机变形,ShellCode编码变形大法 -电脑资料