This sort of error is quite generic and could be caused by all sorts of things - wrong version of Java in use, being run as the wrong user, and and and.
Have a run through https://confluence.atlassian.com/confkb/confluence-does-not-start-due-to-spring-application-context-has-not-been-set-218278311.html to see the list of the more common problems and how to fix them.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.