Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-79556

Can not invoke PdfExporterService from a plugin

    XMLWordPrintable

Details

    Description

      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

      Attachments

        Issue Links

          Activity

            People

              5339cdd01cf4 Jeffery Xie
              nhoxuan Nam Ho
              Votes:
              9 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: