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

Solutions on the web

via Atlassian JIRA by Armond Avanes, 1 year ago
Spring Application context has not been set
via Atlassian JIRA by Armond Avanes, 1 year ago
Spring Application context has not been set
java.lang.IllegalStateException: Spring Application context has not been set	at com.atlassian.confluence.setup.container.SpringContainerContext.getComponent(SpringContainerContext.java:47)	at com.atlassian.confluence.rpc.soap.SoapServiceFactory.getService(SoapServiceFactory.java:15)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at java.lang.reflect.Method.invoke(Method.java:324)	at electric.util.reflect.Reflect.invoke(Reflect.java:123)	at electric.util.constructor.Factory.newInstance(Factory.java:73)	at electric.service.descriptor.initializer.Constructor.create(Constructor.java:26)	at electric.service.descriptor.ServiceDescriptor.setClassLoader(ServiceDescriptor.java:267)	at electric.application.web.services.ManagedService.begin(ManagedService.java:55)	at electric.application.web.managed.ManagedObject.start(ManagedObject.java:125)	at electric.application.web.managed.ObjectManager.add(ObjectManager.java:87)	at electric.application.web.services.ServiceManager.publishServiceEntries(ServiceManager.java:109)	at electric.application.web.services.ServiceManager.loadServicesFromDescriptors(ServiceManager.java:96)	at electric.application.web.services.ServiceManager.start(ServiceManager.java:64)	at electric.application.web.WebApplication.startManagers(WebApplication.java:382)	at electric.application.web.WebApplication.start(WebApplication.java:286)	at electric.server.http.ServletServer.init(ServletServer.java:299)	at com.caucho.server.http.Application.createServlet(Application.java:3111)	at com.caucho.server.http.Application.loadServlet(Application.java:3062)	at com.caucho.server.http.Application.initServlets(Application.java:1923)	at com.caucho.server.http.Application.init(Application.java:1849)	at com.caucho.server.http.VirtualHost.init(VirtualHost.java:728)	at com.caucho.server.http.ServletServer.initHosts(ServletServer.java:885)	at com.caucho.server.http.ServletServer.initInternal(ServletServer.java:727)	at com.caucho.server.http.ServletServer.init(ServletServer.java:538)	at com.caucho.server.http.ResinServer.init(ResinServer.java:406)	at com.caucho.server.http.ResinServer.main(ResinServer.java:1167)	at com.caucho.server.http.HttpServer.main(HttpServer.java:103)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at java.lang.reflect.Method.invoke(Method.java:324)	at com.intellij.rt.execution.application.AppMain.main(Unknown Source)