Skip to main content
Level 3
Oct 16, 2015 2:26 AM UTC
Solved

Error while importing packages.

Hello,

       My requirement is to convert pdf, to images while am converting pdf to image am getting error  while importing  packages, which i have uploaded file.could you please let me know the solution.

 

Thanks.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
joerghoh
joerghohAccepted solution
Adobe Employee
Oct 16, 2015 2:26 AM UTC

all "com.sun.*" packages are described to be provided by OSGI boot delegation, so these packages must reside in the class path of the JVM and cannot be provided by OSGI bundles. If you want to provide "com.sun.pdfview" via an OSGI bundle, you should modify your sling.properties file. But I would avoid that and rather drop the corresponding JAR file in the classpath directly.

Jörg

2 replies

joerghoh
Adobe Employee
joerghohAdobe EmployeeAccepted solution
Adobe Employee
Oct 16, 2015 2:26 AM UTC

all "com.sun.*" packages are described to be provided by OSGI boot delegation, so these packages must reside in the class path of the JVM and cannot be provided by OSGI bundles. If you want to provide "com.sun.pdfview" via an OSGI bundle, you should modify your sling.properties file. But I would avoid that and rather drop the corresponding JAR file in the classpath directly.

Jörg

Translate
Level 6
Oct 16, 2015 2:26 AM UTC

Did you convert 3rd party jars to OSGI bundle?

Here is the links on how to convert 3rd party jars to integrate in CQ

http://www.wemblog.com/2012/04/how-to-integrate-3rd-party-jar-file-in.html

Translate