2012年11月24日

解决CentOS 中部署JasperReport时出错的问题。错误:net.sf.jasperreports.engine.util.JRFontNotFoundException: Font '宋体' is not available to the JVM.

摘要: CentOS 中部署JasperReport时出错:net.sf.jasperreports.engine.util.JRFontNotFoundException: Font '宋体' is not available to the JVM. See the Javadoc for more details.原因:操作系统默认语言是英文版的。修改为中文并拷贝windows的字体到linux系统中并应用,停止Tomcat等Web服务器,删除缓存(Tomcat中为tomcat目录下的work目录)即可。方法:修改系统默认语言:vim/etc/sysconfig/i18n内容:LA 阅读全文

posted @ 2012-11-24 11:08 sixiiweb 阅读(21389) 评论(1) 推荐(1) 编辑

导航