got an error Cannot autowire object because the Spring context is unavailable. Ensure your OSGi bundle contains the 'Spring-Context' header.

using Jira 5.1 i have installed Behaviours, i when to the administrator dceen click on Behaviours then got this error:

Cannot autowire object because the Spring context is unavailable. Ensure your OSGi bundle contains the 'Spring-Context' header.

Could not find what you were looking for. Maybe you should raise an issue.

what is it?

Ya.

3 answers

0 vote

What exact version of jira? What version of the plugin?

jira 5.1.5 plugin version 5.0.2

I guess you mean 0.5.2. That combination works for me... can you give me more info:

Were you upgrading
Can you create a support request on https://studio.plugins.atlassian.com/browse/JBHV attaching the full jira log from a restart?

thanks

I didn't upgrade, freash installation, as for the restart, i can't do restart for all projects.

Yariv

I have the same problem on JIRA v5.2.1 and Behaviours Version 0.5.3. I installed from UPM without problems but I get the above error when trying to access the Behaviours config page. Jamie - can you help resolve?

This is now resolved. But prudent administrators, read on.

In trying to fix/troubleshoot this further, I noticed that the JIRA UPM had an 'Update Available' and foolishly thinking it was harmless to let it update itself :-), I clicked the button. UPM started updating, then JIRA chocked and died. Had to restart JIRA. Good news is that it did come up. UPM now shows the 2 entries (Atlassian Universal Plugin Manager Plugin and Atlassian Universal Plugin Manager Self-Update Plugin) which weren't there before. AND moreover... Behaviours plugin miraculously works! ;-) That leads me to believe either of 2 things... something in the UPM update fixed the Behaviours plugin issue OR the restart itself fixed it. Not sure. Either way, it works now. But Jamie, if you have any further info, your response is welcome :-)

Sorry, yes, it requires a restart when you have this problem with the behaviours plugin. Have never been able to reproduce this problem myself... must be an interaction with another plugin.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published May 30, 2018 in Marketplace Apps

Three tips for boosting your board's efficiency with Story Maps

Trello is one of the most effective tools for driving your sprints. It's customizable for every Agile team and product owners and Scrum masters (SM) love it. However, Agile teams often struggle with:...

818 views 2 9
Read article

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