Can not invoke PdfExporterService from a plugin

XMLWordPrintable

    • Severity 3 - Minor

      Issue Summary

      Invoking PdfExporterService from a plugin throws runtime exception

      Steps to Reproduce

      1. Add confluence-flyingpdf-plugin dependency as provided on your plugin pom
      1. Add com.atlassian.confluence.extra.flyingpdf* to the osgi import section on your plugin pom
      1. Import the PdfExporterService (@ComponentImport) on your bean
      1. Call to method createPdfForPage(User a, AbstractPage b, String c, PageExportMetrics d) passing a new PageExportMetrics as the forth parameter.

      Expected Results

      Able to generate PDF

      Actual Results

      ClassNotFoundException: com.atlassian.confluence.extra.flyingpdf.analytic.PageExportMetrics is thrown.

      Workaround

      N/A

            Assignee:
            Jeffery Xie
            Reporter:
            Nam Ho
            Votes:
            9 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: