[
https://issues.apache.org/jira/browse/PDFBOX-4613?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16895744#comment-16895744
]
Tilman Hausherr commented on PDFBOX-4613:
-----------------------------------------
How about replacing "Embed-Dependency" in the instructions of the bundle plugin:
{code:java}
<Embed-Dependency>gson;inline=org/apache/**</Embed-Dependency>{code}
If it still doesn't work, then first try another version of PDFBox, e.g.
2.0.14, 2.0.10, 2.0.5 (just to see whether we messed up something, but I don't
think so). The next step would be to ask on stackoverflow, because this isn't a
PDFBox problem, this is a problem with the maven bundle plugin.
> Missing requirement osgi.wiring.package=org.apache.pdfbox.pdmodel
> -----------------------------------------------------------------
>
> Key: PDFBOX-4613
> URL: https://issues.apache.org/jira/browse/PDFBOX-4613
> Project: PDFBox
> Issue Type: Bug
> Components: PDModel
> Affects Versions: 2.0.16
> Environment: Linux 4.15.0-54-generic, Java "1.8.0_212", Maven "3.3.9"
> Reporter: Roman Reiner
> Priority: Trivial
> Attachments: image-2019-07-29-15-15-53-115.png,
> image-2019-07-29-15-59-33-849.png, image-2019-07-29-16-00-46-263.png, pom.xml
>
>
> Here is error code I am getting, have done a couple hours of research and
> debugging and unable to resolve error. Any help would be appreciated.
> !image-2019-07-29-15-15-53-115.png!
>
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]