You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
To edit pdf file, i am in need of itextpdf jar. I have added the itextpdf in pom.xml file when i build plugin its seem to error. the following
SDK version : 6.3.10
itextpdf version : 5.5.3
java version: 8.0
<!-- https://mvnrepository.com/artifact/com.itextpdf/itextpdf -->
<dependency>
<groupId>com.itextpdf</groupId>
<artifactId>itextpdf</artifactId>
<version>5.5.3</version>
<scope>provided</scope>
</dependency>
cause Error
ERROR - 09:54:06,519 - com.atlassian.plugin.osgi.factory.OsgiPluginInstalledHelper - [localhost-startStop-1]
- Cannot determine required plugins, cannot resolve bundle 'com.web.pdf.gen'
It's Fixed by adding, in my pom.xml
<Import-Package>*;version="0";resolution:=optional</Import-Package>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Faced with the same problem, only when connecting to any other jar file. Please show your corrected pom.xml. Thank you in advance)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This thing solved whole day of researching this issue. Happened when adding an external jar and using its methods
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Why do you set scope provided? I think you need scope compile.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Aleksandr,
thanks for your reply. i tired all of this (compile, provided, runtime),
1) .i have clean and run plugin,
2).my local repository has itextpdf.jar ,
3).updated version of SDK & Java.
But, Same error! i am stuck in it. My plugin not enabled. Can you help?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.