当我尝试在我的应用程序中打开 PDF 文件时出现以下错误:
javax.servlet.ServletException: java.lang.UnsatisfiedLinkError: sun.awt.font.NativeFontWrapper.getPlatformFontVar()Z
at sun.awt.font.NativeFontWrapper.getPlatformFontVar(Native Method)
at sun.awt.font.NativeFontWrapper.<clinit>(NativeFontWrapper.java:54)
at uk.org.retep.pdf.SunPDFFontDescriptor.getTrueTypeFontLocation(Unknown Source)
at com.genexus.reports.PDFReportItext.GxAttris(Unknown Source)
at orcnescta01_impl.webExecute(orcnescta01_impl.java)
at com.genexus.webpanels.GXWebObjectBase.doExecute(Unknown Source)
at orcnescta01.doExecute(orcnescta01.java)
at com.genexus.webpanels.GXWebObjectStub.callExecute(Unknown Source)
at com.genexus.webpanels.GXWebObjectStub.doGet(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:879)
at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:600)
at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1703)
at java.lang.Thread.run(Thread.java:722)
com.genexus.webpanels.GXWebObjectStub.callExecute(Unknown Source)
com.genexus.webpanels.GXWebObjectStub.doGet(Unknown Source)
javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
和在文件夹rt.jar
中。iText.jar
WPAGE\WEB-INF\lib
任何想法为什么我会遇到这个问题?