How to use 'DynamicImport-Package' instruction Edited

Hi, I am trying to load classes at run time.


For this purpose, I added 'DynamicImport-Package' attirbute under instructions tag of 'maven-jira-plugin' like this.  


I check that the instruction is in MANIFEST.MF.

DynamicImport-Package: com.atlassian.jira.bc.issue.*,

When i try to load the class from this package which is specified in 'DynamicImport-Package' attribute, i am getting "ClassNotFoundException".

I don't know what else to check for. Anyone know what could be the cause for this behavior ?  

What should be the way to do it ?



1 answer

0 vote
Sam Hall Community Champion Apr 06, 2017

Hi Tansu - Welcome to the community. Since your question is development related, you might want to try asking this over at: as well (if you haven't already).

There are a lot of helpful and experienced people over there, so you will probably get a quicker response.

You can read more about the Developer Community in this article:

Suggest an answer

Log in or Join to answer
Community showcase
Louis De Jaeger
Posted Thursday in Off-topic

Friday fun: your best joke

Hi all Lets make this Friday fun really fun and post one (or more) of your best jokes! The joke can be about an Atlassian product, or just a really fun joke you want to share! I’m not the best j...

170 views 12 3
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot