HTML to PDF / DOCX / RTF Java converter library Forums PD4ML v3 Archived Forums (Read Only) General questions / FAQ lang.NoSuchMethodError: org.zefer.pd4ml.PD4ML.generatePdfa

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #26195

    Hi,
    I am having issue with converting JSP to PDF using web scenario. I have downloaded all the jars pd4ml_demo.jar, pd4ml_tl_demo.jar and ss_css2.jar and modified the web.xml as well.
    here is the exception i get while accessing JSP.
    java.lang.NoSuchMethodError: org.zefer.pd4ml.PD4ML.generatePdfa(Z)V
    at org.zefer.pd4ml.taglib.PD4MLTransformerTag.render(Unknown Source)
    at org.zefer.pd4ml.taglib.PD4MLTransformerTag.doEndTag(Unknown Source)
    at jsp_servlet.__pdf._jsp__tag0(__pdf.java:145)
    at jsp_servlet.__pdf._jspService(__pdf.java:93)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
    Truncated. see log file for complete stacktrace

    Appriciate your help

    #27234

    It looks like there is an older instance of pd4ml(_demo).jar on the server. Check all shared lib/ and cache directories of the server and remove the JARs. The best place for PD4ML libs is WEB-INF/lib

    #27235

    Downloaded latest jar . It works great.
    Thanks Lot for you help

Viewing 3 posts - 1 through 3 (of 3 total)

The forum ‘General questions / FAQ’ is closed to new topics and replies.