Advertisement
jdgiotta

Spring Boot Maven/Bamboo Error

Jun 1st, 2016
144
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.96 KB | None | 0 0
  1. build 01-Jun-2016 22:02:34 -------------------------------------------------------
  2. build 01-Jun-2016 22:02:34 T E S T S
  3. build 01-Jun-2016 22:02:34 -------------------------------------------------------
  4. build 01-Jun-2016 22:02:36 Running com.kainoshealthcare.biblion.BiblionApplicationTests
  5. build 01-Jun-2016 22:02:38
  6. build 01-Jun-2016 22:02:38 . ____ _ __ _ _
  7. build 01-Jun-2016 22:02:38 /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
  8. build 01-Jun-2016 22:02:38 ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
  9. build 01-Jun-2016 22:02:38 \\/ ___)| |_)| | | | | || (_| | ) ) ) )
  10. build 01-Jun-2016 22:02:38 ' |____| .__|_| |_|_| |_\__, | / / / /
  11. build 01-Jun-2016 22:02:38 =========|_|==============|___/=/_/_/_/
  12. build 01-Jun-2016 22:02:38 :: Spring Boot :: (v1.3.2.RELEASE)
  13. build 01-Jun-2016 22:02:38
  14. build 01-Jun-2016 22:02:46 Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 10.228 sec <<< FAILURE! - in com.kainoshealthcare.biblion.BiblionApplicationTests
  15. build 01-Jun-2016 22:02:46 contextLoads(com.kainoshealthcare.biblion.BiblionApplicationTests) Time elapsed: 0.066 sec <<< ERROR!
  16. build 01-Jun-2016 22:02:46 java.lang.IllegalStateException: Failed to load ApplicationContext
  17. build 01-Jun-2016 22:02:46 at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124)
  18. build 01-Jun-2016 22:02:46 at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:83)
  19. build 01-Jun-2016 22:02:46 at org.springframework.test.context.web.ServletTestExecutionListener.setUpRequestContextIfNecessary(ServletTestExecutionListener.java:183)
  20. build 01-Jun-2016 22:02:46 at org.springframework.test.context.web.ServletTestExecutionListener.prepareTestInstance(ServletTestExecutionListener.java:123)
  21. build 01-Jun-2016 22:02:46 at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:228)
  22. build 01-Jun-2016 22:02:46 at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.createTest(SpringJUnit4ClassRunner.java:230)
  23. build 01-Jun-2016 22:02:46 at org.springframework.test.context.junit4.SpringJUnit4ClassRunner$1.runReflectiveCall(SpringJUnit4ClassRunner.java:289)
  24. build 01-Jun-2016 22:02:46 at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
  25. build 01-Jun-2016 22:02:46 at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.methodBlock(SpringJUnit4ClassRunner.java:291)
  26. build 01-Jun-2016 22:02:46 at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:249)
  27. build 01-Jun-2016 22:02:46 at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:89)
  28. build 01-Jun-2016 22:02:46 at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
  29. build 01-Jun-2016 22:02:46 at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
  30. build 01-Jun-2016 22:02:46 at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
  31. build 01-Jun-2016 22:02:46 at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
  32. build 01-Jun-2016 22:02:46 at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
  33. build 01-Jun-2016 22:02:46 at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
  34. build 01-Jun-2016 22:02:46 at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
  35. build 01-Jun-2016 22:02:46 at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
  36. build 01-Jun-2016 22:02:46 at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:193)
  37. build 01-Jun-2016 22:02:46 at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:283)
  38. build 01-Jun-2016 22:02:46 at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:173)
  39. build 01-Jun-2016 22:02:46 at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153)
  40. build 01-Jun-2016 22:02:46 at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:128)
  41. build 01-Jun-2016 22:02:46 at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:203)
  42. build 01-Jun-2016 22:02:46 at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:155)
  43. build 01-Jun-2016 22:02:46 at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)
  44. build 01-Jun-2016 22:02:46 Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'analyteCommentService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.kainoshealthcare.biblion.repository.ContingencyGroupRepository com.kainoshealthcare.biblion.service.AnalyteCommentService.contingencyGroupRepository; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'contingencyGroupRepository': Post-processing of FactoryBean's singleton object failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'methodSecurityInterceptor' defined in class path resource [org/springframework/security/config/annotation/method/configuration/GlobalMethodSecurityConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.aopalliance.intercept.MethodInterceptor]: Factory method 'methodSecurityInterceptor' threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'securityConfig': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.kainoshealthcare.biblion.security.CustomUserDetailsService com.kainoshealthcare.biblion.config.SecurityConfig.customUserDetailsService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'customUserDetailsService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.kainoshealthcare.biblion.repository.AppUserRepository com.kainoshealthcare.biblion.security.CustomUserDetailsService.appUserRepository; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'appUserRepository': Post-processing of FactoryBean's singleton object failed; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'methodSecurityInterceptor': Requested bean is currently in creation: Is there an unresolvable circular reference?
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement