Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

Template rendere is not working after adding new dependencies

I am developing a plugin for Jira. I have included template renderer using,


and it has been working for long time. But ever since I have introduced some new dependency jars ( that has nothing to do with template renderer! ), it is not working for me. I have posted the logs below. I have tried rebuilding after atlas-clean command, but nothing worked for me. Please help me in this regard. Thanks.

[INFO] [talledLocalContainer] 2018-03-19 18:20:50,889 FelixDispatchQueue ERROR [c.a.p.o.container.felix.FelixOsgiContainerManager] Framework error in bundle com.atlassian.templaterenderer.atlassian-template-renderer-velocity16-plugin
[INFO] [talledLocalContainer] org.osgi.framework.ServiceException: Service factory exception: Cannot instantiate class for introspector.cache.classes
[INFO] [talledLocalContainer] at org.apache.felix.framework.ServiceRegistrationImpl.getFactoryUnchecked(
[INFO] [talledLocalContainer] at org.apache.felix.framework.ServiceRegistrationImpl.getService(
[INFO] [talledLocalContainer] at org.apache.felix.framework.ServiceRegistry.getService(
[INFO] [talledLocalContainer] at org.apache.felix.framework.Felix.getService(
[INFO] [talledLocalContainer] at org.apache.felix.framework.BundleContextImpl.getService(
[INFO] [talledLocalContainer] at
[INFO] [talledLocalContainer] at$ServiceLookUpCallback.doWithRetry(
[INFO] [talledLocalContainer] at
[INFO] [talledLocalContainer] at
[INFO] [talledLocalContainer] at
[INFO] [talledLocalContainer] at


3 answers

I had the same issue and manage to solve it by fixing the sal-api dependency version.


According to the SAL version matrix 3.1.0 is the last one supporting JIRA 7.x.

Additionally I had to add some lines to the Import-Package node in my pom.xml.  It is looking like that now for my plugin:


The highlighted ones were added after changing the sal-api version.

Btw I'm using Atlassian Spring Scanner 2. I don't know, maybe the use of previous versions implies further changes.

Here are some version number related to my solution:

<!-- This key is used to keep the consistency between the key in atlassian-plugin.xml and the key to generate bundle. -->
<!-- TestKit version 6.x for JIRA 6.x -->

Good luck!

Deleted. I accidently posted twice, since I thought the first answer was not published.

The problem appeared again. This time after adding


to the instructions of maven-jira-plugin. This seems to load imcompatible dependencies, too.

After removing the line I didn't get rid of the error. Restarting JIRA was not enough, I had to clean the maven target folder to get things running again.

Turns out, tackling dependencies problems in OSGi can be pretty time consuming.

Hey, did you resolved this problem?

Suggest an answer

Log in or Sign up to answer

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