Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

getting "Cannot determine required plugins, cannot resolve bundle error"

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'

 

2 answers

1 accepted

4 votes
Answer accepted

It's Fixed by adding, in my pom.xml

<Import-Package>*;version="0";resolution:=optional</Import-Package>

Great Job. Working fine.

Faced with the same problem, only when connecting to any other jar file. Please show your corrected pom.xml. Thank you in advance)

Love you, bro. It works for me, too.

This thing solved whole day of researching this issue. Happened when adding an external jar and using its methods

Hi,

Why do you set scope provided? I think you need scope compile.

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?

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Feedback & Announcements

The 2020 Content Awards

Happy New Year, Atlassian Community! In 2020 we all had to learn how to connect, share, and learn in an entirely different way. After a year of so much bad, we deserve to celebrate some good! The...

1,929 views 40 68
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you