On Confluence Startup, the following error is thrown

Ian James I'm New Here Jan 03, 2018

Hi,

I'm new to Atlassian and have just installed Confluence. Inittially the browser was working but the step after I tested the connection to an external database Igot the following (below).

Any suggestions please?

 

The SystemInformationService could not be retrieved from the container. Therefore very limited information is available in this error report.
The SystemInformationService could not be retrieved due to the following error: java.lang.IllegalStateException: Spring Application context has not been set

Cause

com.atlassian.util.concurrent.LazyReference$InitializationException: java.lang.IllegalStateException: Spring Application context has not been set
    at com.atlassian.util.concurrent.LazyReference.getInterruptibly(LazyReference.java:149)

caused by: java.lang.IllegalStateException: Spring Application context has not been set
    at com.atlassian.spring.container.SpringContainerContext.getComponent(SpringContainerContext.java:48)

1 answer

0 vote
Ann Worley Atlassian Team Jan 03, 2018

Hi Ian,

"Spring Application context has not been set" is a common error that can be produced by a number of causes. The most common issue is a lack of permissions on the home directory which prevents Confluence from writing to the confluence.cfg.xml file.

Please work your way through this guide until you find the cause of your particular "Spring Application context has not been set" issue:

Confluence does not start due to Spring Application context has not been set

Thanks,

Ann

Ian James I'm New Here Jan 05, 2018

Hi Ann,

Thank you for the reply.

The problem has now been resolved. It was due to the wrong licence key being used i.e. prod key for a test system.

Perhaps Atlassian could look at getting some test in place for the licence key, rather than crashing out with errors.

Thanks again. 

Ian

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Friday in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

292 views 11 10
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