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 votes

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
Community showcase
Posted Thursday in Marketplace Apps

You + one app + a desert island...

Hi all! My name is Miles and I work on the Marketplace team. We’re looking for better ways to recommend and suggest apps that are truly crowd favorites, so of course we wanted to poll the Community. ...

486 views 3 5
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