开发者社区> 问答> 正文

LINUX平台下遇到一个诡异的问题,JDK 1.7.0_02

java.lang.NoClassDefFoundError: Could not initialize class sun.font.SunFontManager 
 at sun.font.FontDesignMetrics.getMetrics(FontDesignMetrics.java:264) 
 at sun.java2d.SunGraphics2D.getFontMetrics(SunGraphics2D.java:789) 
 at com.runqian.report4.model.NormalCell.getStyle(Unknown Source:2033) 
 at com.runqian.report4.model.NormalCell.getStyle(Unknown Source:1938) 
 at com.runqian.report4.view.html.HtmlReport.generateHtml(Unknown Source:255) 
 at com.runqian.report4.tag.HtmlTag.doStartTag(Unknown Source:1050) 
 at org.apache.jsp.reportJsp.showReport_jsp._jspService(showReport_jsp.java:291) 
 at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) 
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) 
 at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:438) 
 at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:396) 
 at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:340) 
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) 
 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291) 
 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) 
 at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) 
 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) 
 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) 
 at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:720) 

展开
收起
杨冬芳 2016-07-14 17:33:18 4926 0
1 条回答
写回答
取消 提交回答
  • 我也遇到这个问题了,现在就解决了吗

    2024-09-20 22:47:47
    赞同 展开评论 打赏
问答分类:
问答地址:
问答排行榜
最热
最新

相关电子书

更多
Alibaba Cloud Linux 3 发布 立即下载
ECS系统指南之Linux系统诊断 立即下载
ECS运维指南 之 Linux系统诊断 立即下载