title: Confluence configuration Spring Application context has not been set
body: <p>I tried to install confluence on my own ubuntu server, but always failed. The error is:</p>
  
  <pre><code>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)
  </code></pre>
  
  <p>I saw some solutions in the jira confluence forum saying try to fix the permission of installed directory and home directory. I tried but failed again. How can I fix the problem.</p>