java.lang.IllegalStateException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • {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}
    via by Dan McCallum,
  • {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}
    via by Dan McCallum,
    • 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 more 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 more 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 more 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 more 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 more

    Users with the same issue

    Unknown visitor1 times, last one,
    rocday
    4 times, last one,
    odd
    2 times, last one,
    batwalrus76
    5 times, last one,
    Andreas Häber
    4 times, last one,
    220 more bugmates