java.lang.IllegalStateException: Spring Application context has not been set

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via Atlassian JIRA by Jim Clark, 1 year ago
Spring Application context has not been set
via atlassian.com by Unknown author, 1 year ago
via Atlassian JIRA by Jim Clark, 1 year ago
Spring Application context has not been set
via atlassian.com by Unknown author, 2 years ago
via atlassian.com by Unknown author, 1 year ago
via Atlassian JIRA by Marcin Gardias, 1 year ago
Spring Application context has not been set
java.lang.IllegalStateException: Spring Application context has not been set
at com.atlassian.spring.container.SpringContainerContext.getComponent(SpringContainerContext.java:48)
at com.atlassian.spring.container.ContainerManager.getComponent(ContainerManager.java:32)
at com.atlassian.confluence.setup.velocity.DynamicPluginResourceLoader.getResourceStream(DynamicPluginResourceLoader.java:28)
at com.atlassian.confluence.util.velocity.ResourceLoaderWrapper.getResourceStream(ResourceLoaderWrapper.java:75)
at com.atlassian.confluence.util.velocity.Velocity13CompatibleResourceLoader.getResourceStream(Velocity13CompatibleResourceLoader.java:36)
at com.atlassian.confluence.util.velocity.ResourceLoaderWrapper.getResourceStream(ResourceLoaderWrapper.java:75)
at com.atlassian.confluence.util.velocity.ConfluenceVelocityResourceManager$DecoratorFilteredResourceLoader.getResourceStream(ConfluenceVelocityResourceManager.java:122)
at com.atlassian.confluence.util.velocity.ConfigurableResourceManager.loadResource(ConfigurableResourceManager.java:363)
at com.atlassian.confluence.util.velocity.ConfigurableResourceManager.getResource(ConfigurableResourceManager.java:304)
at org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1102)
at org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1077)
at com.atlassian.xwork.results.ProfiledVelocityResult.getTemplate(ProfiledVelocityResult.java:34)
at com.atlassian.xwork.results.ProfiledVelocityResult.doExecute(ProfiledVelocityResult.java:21)
at com.opensymphony.xwork.DefaultActionInvocation.executeResult(DefaultActionInvocation.java:263)
at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:187)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.