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
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 Thursday in Confluence

Three common content challenges + how to manage them

An efficient enterprise content management system, or ECM, is a must-have for companies that create work online (cough   cough, all companies). If content calendars, marketing plans, and bu...

86 views 0 6
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