2

嗨,我喜欢以 pdf 格式导出整个页面,例如打印,打印工作正常但 pdf 不工作,,

kinldy 告诉我哪里错了

    <h:form>
               <h:commandLink>
                    <p:graphicImage value="/Images/pdf.png" />
                    <p:dataExporter type="pdf" target="export" fileName="test"/>                
                </h:commandLink>  
                <h:commandLink>  
                     <p:graphicImage value="/Images/print.png" />
                     <p:printer target="export" />  
                 </h:commandLink> 
                <h:panelGroup id="export">
_________________________
_________________________
_________________________
_________________________
_________________________
</h:panelGroup>
</h:form>

我收到错误

  javax.servlet.ServletException: com/lowagie/text/Phrase
 java.lang.NoClassDefFoundError: com/lowagie/text/Phrase
java.lang.ClassNotFoundException: com.lowagie.text.Phrase

谢谢

4

0 回答 0