java.lang.IllegalStateException: Failed to load ApplicationContext

Apereo Issues | Dan McCallum | 2 years ago
  1. 0

    {noformat} DEV - 13:14:39.856 [main] ERROR o.s.test.context.TestContextManager - Caught exception while allowing TestExecutionListener [org.springframework.test.context.support.DependencyInjectionTestExecutionListener@749beafc] to prepare test instance [org.jasig.ssp.web.api.ControllerSecurityTest@28608233] java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.CacheAwareContextLoaderDelegate.loadContext(CacheAwareContextLoaderDelegate.java:99) ~[spring-test-3.2.8.RELEASE.jar:3.2.8.RELEASE] at org.springframework.test.context.TestContext.getApplicationContext(TestContext.java:122) ~[spring-test-3.2.8.RELEASE.jar:3.2.8.RELEASE] at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.injectDependencies(DependencyInjectionTestExecutionListener.java:109) ~[spring-test-3.2.8.RELEASE.jar:3.2.8.RELEASE] at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.prepareTestInstance(DependencyInjectionTestExecutionListener.java:75) ~[spring-test-3.2.8.RELEASE.jar:3.2.8.RELEASE] at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:307) ~[spring-test-3.2.8.RELEASE.jar:3.2.8.RELEASE] at org.spockframework.spring.SpringTestContextManager.prepareTestInstance(SpringTestContextManager.java:49) [spock-spring-0.6-groovy-1.8.jar:na] at org.spockframework.spring.SpringInterceptor.interceptSetupMethod(SpringInterceptor.java:42) [spock-spring-0.6-groovy-1.8.jar:na] at org.spockframework.runtime.extension.AbstractMethodInterceptor.intercept(AbstractMethodInterceptor.java:28) [spock-core-0.6-groovy-1.8.jar:na] at org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:84) [spock-core-0.6-groovy-1.8.jar:na] at org.spockframework.runtime.BaseSpecRunner.invoke(BaseSpecRunner.java:305) [spock-core-0.6-groovy-1.8.jar:na] at org.spockframework.runtime.BaseSpecRunner.invokeSetup(BaseSpecRunner.java:278) [spock-core-0.6-groovy-1.8.jar:na] at org.spockframework.runtime.BaseSpecRunner.doRunIteration(BaseSpecRunner.java:254) [spock-core-0.6-groovy-1.8.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.7.0_67] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[na:1.7.0_67] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_67] at java.lang.reflect.Method.invoke(Method.java:606) ~[na:1.7.0_67] at org.spockframework.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:176) [spock-core-0.6-groovy-1.8.jar:na] at org.spockframework.runtime.BaseSpecRunner.invokeRaw(BaseSpecRunner.java:316) [spock-core-0.6-groovy-1.8.jar:na] at org.spockframework.runtime.BaseSpecRunner.invoke(BaseSpecRunner.java:297) [spock-core-0.6-groovy-1.8.jar:na] at org.spockframework.runtime.BaseSpecRunner.runIteration(BaseSpecRunner.java:222) [spock-core-0.6-groovy-1.8.jar:na] at org.spockframework.runtime.BaseSpecRunner.initializeAndRunIteration(BaseSpecRunner.java:214) [spock-core-0.6-groovy-1.8.jar:na] at org.spockframework.runtime.BaseSpecRunner.runSimpleFeature(BaseSpecRunner.java:204) [spock-core-0.6-groovy-1.8.jar:na] at org.spockframework.runtime.BaseSpecRunner.doRunFeature(BaseSpecRunner.java:198) [spock-core-0.6-groovy-1.8.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.7.0_67] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[na:1.7.0_67] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_67] at java.lang.reflect.Method.invoke(Method.java:606) ~[na:1.7.0_67] at org.spockframework.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:176) [spock-core-0.6-groovy-1.8.jar:na] at org.spockframework.runtime.BaseSpecRunner.invokeRaw(BaseSpecRunner.java:316) [spock-core-0.6-groovy-1.8.jar:na] at org.spockframework.runtime.BaseSpecRunner.invoke(BaseSpecRunner.java:297) [spock-core-0.6-groovy-1.8.jar:na] at org.spockframework.runtime.BaseSpecRunner.runFeature(BaseSpecRunner.java:174) [spock-core-0.6-groovy-1.8.jar:na] at org.spockframework.runtime.BaseSpecRunner.runFeatures(BaseSpecRunner.java:151) [spock-core-0.6-groovy-1.8.jar:na] at org.spockframework.runtime.BaseSpecRunner.doRunSpec(BaseSpecRunner.java:111) [spock-core-0.6-groovy-1.8.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.7.0_67] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[na:1.7.0_67] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_67] at java.lang.reflect.Method.invoke(Method.java:606) ~[na:1.7.0_67] at org.spockframework.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:176) [spock-core-0.6-groovy-1.8.jar:na] at org.spockframework.runtime.BaseSpecRunner.invokeRaw(BaseSpecRunner.java:316) [spock-core-0.6-groovy-1.8.jar:na] at org.spockframework.runtime.BaseSpecRunner.invoke(BaseSpecRunner.java:297) [spock-core-0.6-groovy-1.8.jar:na] at org.spockframework.runtime.BaseSpecRunner.runSpec(BaseSpecRunner.java:90) [spock-core-0.6-groovy-1.8.jar:na] at org.spockframework.runtime.BaseSpecRunner.run(BaseSpecRunner.java:81) [spock-core-0.6-groovy-1.8.jar:na] at org.spockframework.runtime.Sputnik.run(Sputnik.java:63) [spock-core-0.6-groovy-1.8.jar:na] at org.junit.runners.Suite.runChild(Suite.java:127) [junit-4.11.jar:na] at org.junit.runners.Suite.runChild(Suite.java:26) [junit-4.11.jar:na] at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) [junit-4.11.jar:na] at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) [junit-4.11.jar:na] at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236) [junit-4.11.jar:na] at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) [junit-4.11.jar:na] at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229) [junit-4.11.jar:na] at org.junit.runners.ParentRunner.run(ParentRunner.java:309) [junit-4.11.jar:na] at org.junit.runner.JUnitCore.run(JUnitCore.java:160) [junit-4.11.jar:na] at org.junit.runner.JUnitCore.run(JUnitCore.java:138) [junit-4.11.jar:na] at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.execute(JUnitCoreWrapper.java:62) [surefire-junit47-2.12.jar:2.12] at org.apache.maven.surefire.junitcore.JUnitCoreProvider.invoke(JUnitCoreProvider.java:139) [surefire-junit47-2.12.jar:2.12] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.7.0_67] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[na:1.7.0_67] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_67] at java.lang.reflect.Method.invoke(Method.java:606) ~[na:1.7.0_67] at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189) [surefire-api-2.12.jar:2.12] at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165) [surefire-booter-2.12.jar:2.12] at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85) [surefire-booter-2.12.jar:2.12] at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:103) [surefire-booter-2.12.jar:2.12] at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74) [surefire-booter-2.12.jar:2.12] Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'scheduledTaskWrapperServiceImpl': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private transient org.jasig.ssp.service.jobqueue.BulkJobQueueTask org.jasig.ssp.service.impl.ScheduledTaskWrapperServiceImpl.bulkJobQueueTask; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'bulkJobQueueTaskImpl': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: protected transient org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor org.jasig.ssp.service.jobqueue.impl.BulkJobQueueTaskImpl.taskExecutor; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)} at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:289) ~[spring-beans-3.2.8.RELEASE.jar:3.2.8.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1146) ~[spring-beans-3.2.8.RELEASE.jar:3.2.8.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519) ~[spring-beans-3.2.8.RELEASE.jar:3.2.8.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458) ~[spring-beans-3.2.8.RELEASE.jar:3.2.8.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:296) ~[spring-beans-3.2.8.RELEASE.jar:3.2.8.RELEASE] at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223) ~[spring-beans-3.2.8.RELEASE.jar:3.2.8.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:293) ~[spring-beans-3.2.8.RELEASE.jar:3.2.8.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194) ~[spring-beans-3.2.8.RELEASE.jar:3.2.8.RELEASE] at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:628) ~[spring-beans-3.2.8.RELEASE.jar:3.2.8.RELEASE] at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:932) ~[spring-context-3.2.8.RELEASE.jar:3.2.8.RELEASE] at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479) ~[spring-context-3.2.8.RELEASE.jar:3.2.8.RELEASE] at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:120) ~[spring-test-3.2.8.RELEASE.jar:3.2.8.RELEASE] at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) ~[spring-test-3.2.8.RELEASE.jar:3.2.8.RELEASE] at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:100) ~[spring-test-3.2.8.RELEASE.jar:3.2.8.RELEASE] at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:248) ~[spring-test-3.2.8.RELEASE.jar:3.2.8.RELEASE] at org.springframework.test.context.CacheAwareContextLoaderDelegate.loadContextInternal(CacheAwareContextLoaderDelegate.java:64) ~[spring-test-3.2.8.RELEASE.jar:3.2.8.RELEASE] at org.springframework.test.context.CacheAwareContextLoaderDelegate.loadContext(CacheAwareContextLoaderDelegate.java:91) ~[spring-test-3.2.8.RELEASE.jar:3.2.8.RELEASE] ... 63 common frames omitted Caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire field: private transient org.jasig.ssp.service.jobqueue.BulkJobQueueTask org.jasig.ssp.service.impl.ScheduledTaskWrapperServiceImpl.bulkJobQueueTask; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'bulkJobQueueTaskImpl': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: protected transient org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor org.jasig.ssp.service.jobqueue.impl.BulkJobQueueTaskImpl.taskExecutor; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)} at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:517) ~[spring-beans-3.2.8.RELEASE.jar:3.2.8.RELEASE] at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:87) ~[spring-beans-3.2.8.RELEASE.jar:3.2.8.RELEASE] at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:286) ~[spring-beans-3.2.8.RELEASE.jar:3.2.8.RELEASE] ... 79 common frames omitted Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'bulkJobQueueTaskImpl': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: protected transient org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor org.jasig.ssp.service.jobqueue.impl.BulkJobQueueTaskImpl.taskExecutor; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)} at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:289) ~[spring-beans-3.2.8.RELEASE.jar:3.2.8.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1146) ~[spring-beans-3.2.8.RELEASE.jar:3.2.8.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519) ~[spring-beans-3.2.8.RELEASE.jar:3.2.8.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458) ~[spring-beans-3.2.8.RELEASE.jar:3.2.8.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:296) ~[spring-beans-3.2.8.RELEASE.jar:3.2.8.RELEASE] at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223) ~[spring-beans-3.2.8.RELEASE.jar:3.2.8.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:293) ~[spring-beans-3.2.8.RELEASE.jar:3.2.8.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194) ~[spring-beans-3.2.8.RELEASE.jar:3.2.8.RELEASE] at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:912) ~[spring-beans-3.2.8.RELEASE.jar:3.2.8.RELEASE] at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:855) ~[spring-beans-3.2.8.RELEASE.jar:3.2.8.RELEASE] at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:770) ~[spring-beans-3.2.8.RELEASE.jar:3.2.8.RELEASE] at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:489) ~[spring-beans-3.2.8.RELEASE.jar:3.2.8.RELEASE] ... 81 common frames omitted Caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire field: protected transient org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor org.jasig.ssp.service.jobqueue.impl.BulkJobQueueTaskImpl.taskExecutor; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)} at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:517) ~[spring-beans-3.2.8.RELEASE.jar:3.2.8.RELEASE] at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:87) ~[spring-beans-3.2.8.RELEASE.jar:3.2.8.RELEASE] at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:286) ~[spring-beans-3.2.8.RELEASE.jar:3.2.8.RELEASE] ... 92 common frames omitted Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)} at org.springframework.beans.factory.support.DefaultListableBeanFactory.raiseNoSuchBeanDefinitionException(DefaultListableBeanFactory.java:988) ~[spring-beans-3.2.8.RELEASE.jar:3.2.8.RELEASE] at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:858) ~[spring-beans-3.2.8.RELEASE.jar:3.2.8.RELEASE] at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:770) ~[spring-beans-3.2.8.RELEASE.jar:3.2.8.RELEASE] at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:489) ~[spring-beans-3.2.8.RELEASE.jar:3.2.8.RELEASE] ... 94 common frames omitted Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 15.996 sec <<< FAILURE! Results : Tests in error: test all controller methods secured(org.jasig.ssp.web.api.ControllerSecurityTest): Failed to load ApplicationContext Tests run: 1, Failures: 0, Errors: 1, Skipped: 0 {noformat}

    Apereo Issues | 2 years ago | Dan McCallum
    java.lang.IllegalStateException: Failed to load ApplicationContext
  2. 0

    {noformat} DEV - 13:14:39.856 [main] ERROR o.s.test.context.TestContextManager - Caught exception while allowing TestExecutionListener [org.springframework.test.context.support.DependencyInjectionTestExecutionListener@749beafc] to prepare test instance [org.jasig.ssp.web.api.ControllerSecurityTest@28608233] java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.CacheAwareContextLoaderDelegate.loadContext(CacheAwareContextLoaderDelegate.java:99) ~[spring-test-3.2.8.RELEASE.jar:3.2.8.RELEASE] at org.springframework.test.context.TestContext.getApplicationContext(TestContext.java:122) ~[spring-test-3.2.8.RELEASE.jar:3.2.8.RELEASE] at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.injectDependencies(DependencyInjectionTestExecutionListener.java:109) ~[spring-test-3.2.8.RELEASE.jar:3.2.8.RELEASE] at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.prepareTestInstance(DependencyInjectionTestExecutionListener.java:75) ~[spring-test-3.2.8.RELEASE.jar:3.2.8.RELEASE] at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:307) ~[spring-test-3.2.8.RELEASE.jar:3.2.8.RELEASE] at org.spockframework.spring.SpringTestContextManager.prepareTestInstance(SpringTestContextManager.java:49) [spock-spring-0.6-groovy-1.8.jar:na] at org.spockframework.spring.SpringInterceptor.interceptSetupMethod(SpringInterceptor.java:42) [spock-spring-0.6-groovy-1.8.jar:na] at org.spockframework.runtime.extension.AbstractMethodInterceptor.intercept(AbstractMethodInterceptor.java:28) [spock-core-0.6-groovy-1.8.jar:na] at org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:84) [spock-core-0.6-groovy-1.8.jar:na] at org.spockframework.runtime.BaseSpecRunner.invoke(BaseSpecRunner.java:305) [spock-core-0.6-groovy-1.8.jar:na] at org.spockframework.runtime.BaseSpecRunner.invokeSetup(BaseSpecRunner.java:278) [spock-core-0.6-groovy-1.8.jar:na] at org.spockframework.runtime.BaseSpecRunner.doRunIteration(BaseSpecRunner.java:254) [spock-core-0.6-groovy-1.8.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.7.0_67] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[na:1.7.0_67] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_67] at java.lang.reflect.Method.invoke(Method.java:606) ~[na:1.7.0_67] at org.spockframework.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:176) [spock-core-0.6-groovy-1.8.jar:na] at org.spockframework.runtime.BaseSpecRunner.invokeRaw(BaseSpecRunner.java:316) [spock-core-0.6-groovy-1.8.jar:na] at org.spockframework.runtime.BaseSpecRunner.invoke(BaseSpecRunner.java:297) [spock-core-0.6-groovy-1.8.jar:na] at org.spockframework.runtime.BaseSpecRunner.runIteration(BaseSpecRunner.java:222) [spock-core-0.6-groovy-1.8.jar:na] at org.spockframework.runtime.BaseSpecRunner.initializeAndRunIteration(BaseSpecRunner.java:214) [spock-core-0.6-groovy-1.8.jar:na] at org.spockframework.runtime.BaseSpecRunner.runSimpleFeature(BaseSpecRunner.java:204) [spock-core-0.6-groovy-1.8.jar:na] at org.spockframework.runtime.BaseSpecRunner.doRunFeature(BaseSpecRunner.java:198) [spock-core-0.6-groovy-1.8.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.7.0_67] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[na:1.7.0_67] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_67] at java.lang.reflect.Method.invoke(Method.java:606) ~[na:1.7.0_67] at org.spockframework.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:176) [spock-core-0.6-groovy-1.8.jar:na] at org.spockframework.runtime.BaseSpecRunner.invokeRaw(BaseSpecRunner.java:316) [spock-core-0.6-groovy-1.8.jar:na] at org.spockframework.runtime.BaseSpecRunner.invoke(BaseSpecRunner.java:297) [spock-core-0.6-groovy-1.8.jar:na] at org.spockframework.runtime.BaseSpecRunner.runFeature(BaseSpecRunner.java:174) [spock-core-0.6-groovy-1.8.jar:na] at org.spockframework.runtime.BaseSpecRunner.runFeatures(BaseSpecRunner.java:151) [spock-core-0.6-groovy-1.8.jar:na] at org.spockframework.runtime.BaseSpecRunner.doRunSpec(BaseSpecRunner.java:111) [spock-core-0.6-groovy-1.8.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.7.0_67] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[na:1.7.0_67] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_67] at java.lang.reflect.Method.invoke(Method.java:606) ~[na:1.7.0_67] at org.spockframework.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:176) [spock-core-0.6-groovy-1.8.jar:na] at org.spockframework.runtime.BaseSpecRunner.invokeRaw(BaseSpecRunner.java:316) [spock-core-0.6-groovy-1.8.jar:na] at org.spockframework.runtime.BaseSpecRunner.invoke(BaseSpecRunner.java:297) [spock-core-0.6-groovy-1.8.jar:na] at org.spockframework.runtime.BaseSpecRunner.runSpec(BaseSpecRunner.java:90) [spock-core-0.6-groovy-1.8.jar:na] at org.spockframework.runtime.BaseSpecRunner.run(BaseSpecRunner.java:81) [spock-core-0.6-groovy-1.8.jar:na] at org.spockframework.runtime.Sputnik.run(Sputnik.java:63) [spock-core-0.6-groovy-1.8.jar:na] at org.junit.runners.Suite.runChild(Suite.java:127) [junit-4.11.jar:na] at org.junit.runners.Suite.runChild(Suite.java:26) [junit-4.11.jar:na] at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) [junit-4.11.jar:na] at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) [junit-4.11.jar:na] at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236) [junit-4.11.jar:na] at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) [junit-4.11.jar:na] at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229) [junit-4.11.jar:na] at org.junit.runners.ParentRunner.run(ParentRunner.java:309) [junit-4.11.jar:na] at org.junit.runner.JUnitCore.run(JUnitCore.java:160) [junit-4.11.jar:na] at org.junit.runner.JUnitCore.run(JUnitCore.java:138) [junit-4.11.jar:na] at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.execute(JUnitCoreWrapper.java:62) [surefire-junit47-2.12.jar:2.12] at org.apache.maven.surefire.junitcore.JUnitCoreProvider.invoke(JUnitCoreProvider.java:139) [surefire-junit47-2.12.jar:2.12] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.7.0_67] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[na:1.7.0_67] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_67] at java.lang.reflect.Method.invoke(Method.java:606) ~[na:1.7.0_67] at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189) [surefire-api-2.12.jar:2.12] at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165) [surefire-booter-2.12.jar:2.12] at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85) [surefire-booter-2.12.jar:2.12] at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:103) [surefire-booter-2.12.jar:2.12] at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74) [surefire-booter-2.12.jar:2.12] Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'scheduledTaskWrapperServiceImpl': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private transient org.jasig.ssp.service.jobqueue.BulkJobQueueTask org.jasig.ssp.service.impl.ScheduledTaskWrapperServiceImpl.bulkJobQueueTask; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'bulkJobQueueTaskImpl': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: protected transient org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor org.jasig.ssp.service.jobqueue.impl.BulkJobQueueTaskImpl.taskExecutor; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)} at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:289) ~[spring-beans-3.2.8.RELEASE.jar:3.2.8.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1146) ~[spring-beans-3.2.8.RELEASE.jar:3.2.8.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519) ~[spring-beans-3.2.8.RELEASE.jar:3.2.8.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458) ~[spring-beans-3.2.8.RELEASE.jar:3.2.8.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:296) ~[spring-beans-3.2.8.RELEASE.jar:3.2.8.RELEASE] at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223) ~[spring-beans-3.2.8.RELEASE.jar:3.2.8.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:293) ~[spring-beans-3.2.8.RELEASE.jar:3.2.8.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194) ~[spring-beans-3.2.8.RELEASE.jar:3.2.8.RELEASE] at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:628) ~[spring-beans-3.2.8.RELEASE.jar:3.2.8.RELEASE] at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:932) ~[spring-context-3.2.8.RELEASE.jar:3.2.8.RELEASE] at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479) ~[spring-context-3.2.8.RELEASE.jar:3.2.8.RELEASE] at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:120) ~[spring-test-3.2.8.RELEASE.jar:3.2.8.RELEASE] at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) ~[spring-test-3.2.8.RELEASE.jar:3.2.8.RELEASE] at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:100) ~[spring-test-3.2.8.RELEASE.jar:3.2.8.RELEASE] at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:248) ~[spring-test-3.2.8.RELEASE.jar:3.2.8.RELEASE] at org.springframework.test.context.CacheAwareContextLoaderDelegate.loadContextInternal(CacheAwareContextLoaderDelegate.java:64) ~[spring-test-3.2.8.RELEASE.jar:3.2.8.RELEASE] at org.springframework.test.context.CacheAwareContextLoaderDelegate.loadContext(CacheAwareContextLoaderDelegate.java:91) ~[spring-test-3.2.8.RELEASE.jar:3.2.8.RELEASE] ... 63 common frames omitted Caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire field: private transient org.jasig.ssp.service.jobqueue.BulkJobQueueTask org.jasig.ssp.service.impl.ScheduledTaskWrapperServiceImpl.bulkJobQueueTask; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'bulkJobQueueTaskImpl': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: protected transient org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor org.jasig.ssp.service.jobqueue.impl.BulkJobQueueTaskImpl.taskExecutor; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)} at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:517) ~[spring-beans-3.2.8.RELEASE.jar:3.2.8.RELEASE] at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:87) ~[spring-beans-3.2.8.RELEASE.jar:3.2.8.RELEASE] at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:286) ~[spring-beans-3.2.8.RELEASE.jar:3.2.8.RELEASE] ... 79 common frames omitted Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'bulkJobQueueTaskImpl': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: protected transient org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor org.jasig.ssp.service.jobqueue.impl.BulkJobQueueTaskImpl.taskExecutor; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)} at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:289) ~[spring-beans-3.2.8.RELEASE.jar:3.2.8.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1146) ~[spring-beans-3.2.8.RELEASE.jar:3.2.8.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519) ~[spring-beans-3.2.8.RELEASE.jar:3.2.8.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458) ~[spring-beans-3.2.8.RELEASE.jar:3.2.8.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:296) ~[spring-beans-3.2.8.RELEASE.jar:3.2.8.RELEASE] at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223) ~[spring-beans-3.2.8.RELEASE.jar:3.2.8.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:293) ~[spring-beans-3.2.8.RELEASE.jar:3.2.8.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194) ~[spring-beans-3.2.8.RELEASE.jar:3.2.8.RELEASE] at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:912) ~[spring-beans-3.2.8.RELEASE.jar:3.2.8.RELEASE] at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:855) ~[spring-beans-3.2.8.RELEASE.jar:3.2.8.RELEASE] at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:770) ~[spring-beans-3.2.8.RELEASE.jar:3.2.8.RELEASE] at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:489) ~[spring-beans-3.2.8.RELEASE.jar:3.2.8.RELEASE] ... 81 common frames omitted Caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire field: protected transient org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor org.jasig.ssp.service.jobqueue.impl.BulkJobQueueTaskImpl.taskExecutor; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)} at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:517) ~[spring-beans-3.2.8.RELEASE.jar:3.2.8.RELEASE] at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:87) ~[spring-beans-3.2.8.RELEASE.jar:3.2.8.RELEASE] at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:286) ~[spring-beans-3.2.8.RELEASE.jar:3.2.8.RELEASE] ... 92 common frames omitted Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)} at org.springframework.beans.factory.support.DefaultListableBeanFactory.raiseNoSuchBeanDefinitionException(DefaultListableBeanFactory.java:988) ~[spring-beans-3.2.8.RELEASE.jar:3.2.8.RELEASE] at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:858) ~[spring-beans-3.2.8.RELEASE.jar:3.2.8.RELEASE] at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:770) ~[spring-beans-3.2.8.RELEASE.jar:3.2.8.RELEASE] at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:489) ~[spring-beans-3.2.8.RELEASE.jar:3.2.8.RELEASE] ... 94 common frames omitted Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 15.996 sec <<< FAILURE! Results : Tests in error: test all controller methods secured(org.jasig.ssp.web.api.ControllerSecurityTest): Failed to load ApplicationContext Tests run: 1, Failures: 0, Errors: 1, Skipped: 0 {noformat}

    Apereo Issues | 2 years ago | Dan McCallum
    java.lang.IllegalStateException: Failed to load ApplicationContext
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    NoSuchBeanDefinition despite bean definition in the XML

    Stack Overflow | 3 years ago | Lurk21
    java.lang.IllegalStateException: Failed to load ApplicationContext
  5. 0

    Spring Autowired exception (Could not autowire field..)

    Stack Overflow | 3 years ago | user1662738
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'activationMailServiceImpl': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: protected com.game.portal.utils.SendMail com.game.portal.services.impl.ActivationMailServiceImpl.sendMail; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sendMail': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: org.springframework.mail.javamail.JavaMailSenderImpl com.game.portal.utils.SendMail.mailSender; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [org.springframework.mail.javamail.JavaMailSenderImpl] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)}
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. org.springframework.beans.factory.NoSuchBeanDefinitionException

    No qualifying bean of type [org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)}

    at org.springframework.beans.factory.support.DefaultListableBeanFactory.raiseNoSuchBeanDefinitionException()
  2. Spring Beans
    DefaultListableBeanFactory.preInstantiateSingletons
    1. org.springframework.beans.factory.support.DefaultListableBeanFactory.raiseNoSuchBeanDefinitionException(DefaultListableBeanFactory.java:988)[spring-beans-3.2.8.RELEASE.jar:3.2.8.RELEASE]
    2. org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:858)[spring-beans-3.2.8.RELEASE.jar:3.2.8.RELEASE]
    3. org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:770)[spring-beans-3.2.8.RELEASE.jar:3.2.8.RELEASE]
    4. org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:489)[spring-beans-3.2.8.RELEASE.jar:3.2.8.RELEASE]
    5. org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:87)[spring-beans-3.2.8.RELEASE.jar:3.2.8.RELEASE]
    6. org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:286)[spring-beans-3.2.8.RELEASE.jar:3.2.8.RELEASE]
    7. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1146)[spring-beans-3.2.8.RELEASE.jar:3.2.8.RELEASE]
    8. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)[spring-beans-3.2.8.RELEASE.jar:3.2.8.RELEASE]
    9. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458)[spring-beans-3.2.8.RELEASE.jar:3.2.8.RELEASE]
    10. org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:296)[spring-beans-3.2.8.RELEASE.jar:3.2.8.RELEASE]
    11. org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)[spring-beans-3.2.8.RELEASE.jar:3.2.8.RELEASE]
    12. org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:293)[spring-beans-3.2.8.RELEASE.jar:3.2.8.RELEASE]
    13. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)[spring-beans-3.2.8.RELEASE.jar:3.2.8.RELEASE]
    14. org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:912)[spring-beans-3.2.8.RELEASE.jar:3.2.8.RELEASE]
    15. org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:855)[spring-beans-3.2.8.RELEASE.jar:3.2.8.RELEASE]
    16. org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:770)[spring-beans-3.2.8.RELEASE.jar:3.2.8.RELEASE]
    17. org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:489)[spring-beans-3.2.8.RELEASE.jar:3.2.8.RELEASE]
    18. org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:87)[spring-beans-3.2.8.RELEASE.jar:3.2.8.RELEASE]
    19. org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:286)[spring-beans-3.2.8.RELEASE.jar:3.2.8.RELEASE]
    20. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1146)[spring-beans-3.2.8.RELEASE.jar:3.2.8.RELEASE]
    21. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)[spring-beans-3.2.8.RELEASE.jar:3.2.8.RELEASE]
    22. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458)[spring-beans-3.2.8.RELEASE.jar:3.2.8.RELEASE]
    23. org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:296)[spring-beans-3.2.8.RELEASE.jar:3.2.8.RELEASE]
    24. org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)[spring-beans-3.2.8.RELEASE.jar:3.2.8.RELEASE]
    25. org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:293)[spring-beans-3.2.8.RELEASE.jar:3.2.8.RELEASE]
    26. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)[spring-beans-3.2.8.RELEASE.jar:3.2.8.RELEASE]
    27. org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:628)[spring-beans-3.2.8.RELEASE.jar:3.2.8.RELEASE]
    27 frames
  3. Spring Context
    AbstractApplicationContext.refresh
    1. org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:932)[spring-context-3.2.8.RELEASE.jar:3.2.8.RELEASE]
    2. org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479)[spring-context-3.2.8.RELEASE.jar:3.2.8.RELEASE]
    2 frames
  4. Spring TestContext
    TestContextManager.prepareTestInstance
    1. org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:120)[spring-test-3.2.8.RELEASE.jar:3.2.8.RELEASE]
    2. org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60)[spring-test-3.2.8.RELEASE.jar:3.2.8.RELEASE]
    3. org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:100)[spring-test-3.2.8.RELEASE.jar:3.2.8.RELEASE]
    4. org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:248)[spring-test-3.2.8.RELEASE.jar:3.2.8.RELEASE]
    5. org.springframework.test.context.CacheAwareContextLoaderDelegate.loadContextInternal(CacheAwareContextLoaderDelegate.java:64)[spring-test-3.2.8.RELEASE.jar:3.2.8.RELEASE]
    6. org.springframework.test.context.CacheAwareContextLoaderDelegate.loadContext(CacheAwareContextLoaderDelegate.java:91)[spring-test-3.2.8.RELEASE.jar:3.2.8.RELEASE]
    7. org.springframework.test.context.TestContext.getApplicationContext(TestContext.java:122)[spring-test-3.2.8.RELEASE.jar:3.2.8.RELEASE]
    8. org.springframework.test.context.support.DependencyInjectionTestExecutionListener.injectDependencies(DependencyInjectionTestExecutionListener.java:109)[spring-test-3.2.8.RELEASE.jar:3.2.8.RELEASE]
    9. org.springframework.test.context.support.DependencyInjectionTestExecutionListener.prepareTestInstance(DependencyInjectionTestExecutionListener.java:75)[spring-test-3.2.8.RELEASE.jar:3.2.8.RELEASE]
    10. org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:307)[spring-test-3.2.8.RELEASE.jar:3.2.8.RELEASE]
    10 frames
  5. org.spockframework.spring
    SpringInterceptor.interceptSetupMethod
    1. org.spockframework.spring.SpringTestContextManager.prepareTestInstance(SpringTestContextManager.java:49)[spock-spring-0.6-groovy-1.8.jar:na]
    2. org.spockframework.spring.SpringInterceptor.interceptSetupMethod(SpringInterceptor.java:42)[spock-spring-0.6-groovy-1.8.jar:na]
    2 frames
  6. Spock Framework - Core Module
    BaseSpecRunner.doRunIteration
    1. org.spockframework.runtime.extension.AbstractMethodInterceptor.intercept(AbstractMethodInterceptor.java:28)[spock-core-0.6-groovy-1.8.jar:na]
    2. org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:84)[spock-core-0.6-groovy-1.8.jar:na]
    3. org.spockframework.runtime.BaseSpecRunner.invoke(BaseSpecRunner.java:305)[spock-core-0.6-groovy-1.8.jar:na]
    4. org.spockframework.runtime.BaseSpecRunner.invokeSetup(BaseSpecRunner.java:278)[spock-core-0.6-groovy-1.8.jar:na]
    5. org.spockframework.runtime.BaseSpecRunner.doRunIteration(BaseSpecRunner.java:254)[spock-core-0.6-groovy-1.8.jar:na]
    5 frames
  7. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.7.0_67]
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)[na:1.7.0_67]
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[na:1.7.0_67]
    4. java.lang.reflect.Method.invoke(Method.java:606)[na:1.7.0_67]
    4 frames
  8. Spock Framework - Core Module
    BaseSpecRunner.doRunFeature
    1. org.spockframework.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:176)[spock-core-0.6-groovy-1.8.jar:na]
    2. org.spockframework.runtime.BaseSpecRunner.invokeRaw(BaseSpecRunner.java:316)[spock-core-0.6-groovy-1.8.jar:na]
    3. org.spockframework.runtime.BaseSpecRunner.invoke(BaseSpecRunner.java:297)[spock-core-0.6-groovy-1.8.jar:na]
    4. org.spockframework.runtime.BaseSpecRunner.runIteration(BaseSpecRunner.java:222)[spock-core-0.6-groovy-1.8.jar:na]
    5. org.spockframework.runtime.BaseSpecRunner.initializeAndRunIteration(BaseSpecRunner.java:214)[spock-core-0.6-groovy-1.8.jar:na]
    6. org.spockframework.runtime.BaseSpecRunner.runSimpleFeature(BaseSpecRunner.java:204)[spock-core-0.6-groovy-1.8.jar:na]
    7. org.spockframework.runtime.BaseSpecRunner.doRunFeature(BaseSpecRunner.java:198)[spock-core-0.6-groovy-1.8.jar:na]
    7 frames
  9. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.7.0_67]
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)[na:1.7.0_67]
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[na:1.7.0_67]
    4. java.lang.reflect.Method.invoke(Method.java:606)[na:1.7.0_67]
    4 frames
  10. Spock Framework - Core Module
    BaseSpecRunner.doRunSpec
    1. org.spockframework.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:176)[spock-core-0.6-groovy-1.8.jar:na]
    2. org.spockframework.runtime.BaseSpecRunner.invokeRaw(BaseSpecRunner.java:316)[spock-core-0.6-groovy-1.8.jar:na]
    3. org.spockframework.runtime.BaseSpecRunner.invoke(BaseSpecRunner.java:297)[spock-core-0.6-groovy-1.8.jar:na]
    4. org.spockframework.runtime.BaseSpecRunner.runFeature(BaseSpecRunner.java:174)[spock-core-0.6-groovy-1.8.jar:na]
    5. org.spockframework.runtime.BaseSpecRunner.runFeatures(BaseSpecRunner.java:151)[spock-core-0.6-groovy-1.8.jar:na]
    6. org.spockframework.runtime.BaseSpecRunner.doRunSpec(BaseSpecRunner.java:111)[spock-core-0.6-groovy-1.8.jar:na]
    6 frames
  11. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.7.0_67]
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)[na:1.7.0_67]
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[na:1.7.0_67]
    4. java.lang.reflect.Method.invoke(Method.java:606)[na:1.7.0_67]
    4 frames
  12. Spock Framework - Core Module
    Sputnik.run
    1. org.spockframework.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:176)[spock-core-0.6-groovy-1.8.jar:na]
    2. org.spockframework.runtime.BaseSpecRunner.invokeRaw(BaseSpecRunner.java:316)[spock-core-0.6-groovy-1.8.jar:na]
    3. org.spockframework.runtime.BaseSpecRunner.invoke(BaseSpecRunner.java:297)[spock-core-0.6-groovy-1.8.jar:na]
    4. org.spockframework.runtime.BaseSpecRunner.runSpec(BaseSpecRunner.java:90)[spock-core-0.6-groovy-1.8.jar:na]
    5. org.spockframework.runtime.BaseSpecRunner.run(BaseSpecRunner.java:81)[spock-core-0.6-groovy-1.8.jar:na]
    6. org.spockframework.runtime.Sputnik.run(Sputnik.java:63)[spock-core-0.6-groovy-1.8.jar:na]
    6 frames
  13. JUnit
    JUnitCore.run
    1. org.junit.runners.Suite.runChild(Suite.java:127)[junit-4.11.jar:na]
    2. org.junit.runners.Suite.runChild(Suite.java:26)[junit-4.11.jar:na]
    3. org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)[junit-4.11.jar:na]
    4. org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)[junit-4.11.jar:na]
    5. org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)[junit-4.11.jar:na]
    6. org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)[junit-4.11.jar:na]
    7. org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)[junit-4.11.jar:na]
    8. org.junit.runners.ParentRunner.run(ParentRunner.java:309)[junit-4.11.jar:na]
    9. org.junit.runner.JUnitCore.run(JUnitCore.java:160)[junit-4.11.jar:na]
    10. org.junit.runner.JUnitCore.run(JUnitCore.java:138)[junit-4.11.jar:na]
    10 frames
  14. SureFire JUnitCore Runner
    JUnitCoreProvider.invoke
    1. org.apache.maven.surefire.junitcore.JUnitCoreWrapper.execute(JUnitCoreWrapper.java:62)[surefire-junit47-2.12.jar:2.12]
    2. org.apache.maven.surefire.junitcore.JUnitCoreProvider.invoke(JUnitCoreProvider.java:139)[surefire-junit47-2.12.jar:2.12]
    2 frames
  15. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.7.0_67]
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)[na:1.7.0_67]
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[na:1.7.0_67]
    4. java.lang.reflect.Method.invoke(Method.java:606)[na:1.7.0_67]
    4 frames
  16. SureFire
    ForkedBooter.main
    1. org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)[surefire-api-2.12.jar:2.12]
    2. org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)[surefire-booter-2.12.jar:2.12]
    3. org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)[surefire-booter-2.12.jar:2.12]
    4. org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:103)[surefire-booter-2.12.jar:2.12]
    5. org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74)[surefire-booter-2.12.jar:2.12]
    5 frames