Home > Back-end >  Spring boot deployment project in Java. Lang. An IllegalStateException: Failed to load ApplicationC
Spring boot deployment project in Java. Lang. An IllegalStateException: Failed to load ApplicationC

Time:09-22

Today in the deployment of someone else's project, found that the test item in the bug ran up, small white please answer


Java. Lang. An IllegalStateException: Failed to load ApplicationContext
The at
Org. Springframework. Test. The context. Cache. DefaultCacheAwareContextLoaderDelegate. LoadContext (DefaultCacheAwareContextLoaderDelegate. Java: 125)
The at org. Springframework. Test. The context. Support. DefaultTestContext. GetApplicationContext (DefaultTestContext. Java: 108)
The at org. Springframework. Test. The context. Web. ServletTestExecutionListener. SetUpRequestContextIfNecessary (ServletTestExecutionListener. Java: 190)
The at org. Springframework. Test. The context. Web. ServletTestExecutionListener. PrepareTestInstance (ServletTestExecutionListener. Java: 132)
The at org. Springframework. Test. The context. TestContextManager. PrepareTestInstance (TestContextManager. Java: 246)
The at org. Springframework. Test. The context. Takeup. SpringJUnit4ClassRunner. CreateTest (SpringJUnit4ClassRunner. Java: 227)
The at org. Springframework. Test. The context. Takeup. SpringJUnit4ClassRunner $1. RunReflectiveCall (SpringJUnit4ClassRunner. Java: 289)
The at org. Junit. Internal. Runners. Model. ReflectiveCallable. Run (ReflectiveCallable. Java: 12)
The at org. Springframework. Test. The context. Takeup. SpringJUnit4ClassRunner. MethodBlock (SpringJUnit4ClassRunner. Java: 291)
The at org. Springframework. Test. The context. Takeup. SpringJUnit4ClassRunner. RunChild (SpringJUnit4ClassRunner. Java: 246)
The at org. Springframework. Test. The context. Takeup. SpringJUnit4ClassRunner. RunChild (SpringJUnit4ClassRunner. Java: 97)
The at org. Junit. Runners. ParentRunner $3. The run (ParentRunner. Java: 290)
The at org. Junit. Runners. ParentRunner $1. The schedule (ParentRunner. Java: 71)
The at org. Junit. Runners. ParentRunner. RunChildren (ParentRunner. Java: 288)
The at org. Junit. Runners. ParentRunner. Access the $000 (ParentRunner. Java: 58)
At org. Junit. Runners. ParentRunner $2. The evaluate (ParentRunner. Java: 268)
The at org. Springframework. Test. The context. Takeup. Statements. RunBeforeTestClassCallbacks. Evaluate (RunBeforeTestClassCallbacks. Java: 61)
The at org. Springframework. Test. The context. Takeup. Statements. RunAfterTestClassCallbacks. Evaluate (RunAfterTestClassCallbacks. Java: 70)
The at org. Junit. Runners. ParentRunner. Run (ParentRunner. Java: 363)
The at org. Springframework. Test. The context. Takeup. SpringJUnit4ClassRunner. Run (SpringJUnit4ClassRunner. Java: 190)
At org. Junit. Runners. Suite. RunChild (128) Suite. Java:
The at org. Junit. Runners. Suite. RunChild (Suite. Java: 27)
The at org. Junit. Runners. ParentRunner $3. The run (ParentRunner. Java: 290)
The at org. Junit. Runners. ParentRunner $1. The schedule (ParentRunner. Java: 71)
The at org. Junit. Runners. ParentRunner. RunChildren (ParentRunner. Java: 288)
The at org. Junit. Runners. ParentRunner. Access the $000 (ParentRunner. Java: 58)
At org. Junit. Runners. ParentRunner $2. The evaluate (ParentRunner. Java: 268)
The at org. Junit. Runners. ParentRunner. Run (ParentRunner. Java: 363)
The at org. Junit. Runner. JUnitCore. Run (JUnitCore. Java: 137)
At com. Intellij. Takeup. JUnit4IdeaTestRunner. StartRunnerWithArgs (JUnit4IdeaTestRunner. Java: 68)
At com. Intellij. Rt. Junit. IdeaTestRunner $Repeater. StartRunnerWithArgs (IdeaTestRunner. Java: 33)
At com. Intellij. Rt. Junit. JUnitStarter. PrepareStreamsAndStart (JUnitStarter. Java: 230)
At com. Intellij. Rt. Junit. JUnitStarter. Main (58) JUnitStarter. Java:
Under Caused by: org. Springframework. Beans. Factory. UnsatisfiedDependencyException: Error creating bean with the name 'org. Springframework. Scheduling. The annotation. ProxyAsyncConfiguration' : Unsatisfied dependency expressed through method 'setConfigurers parameter 0; Nested exception is org. Springframework. Beans. Factory. UnsatisfiedDependencyException: Error creating bean with the name 'shiroFilterFactoryBean defined in the class path resource [com/XGS/hisystem/config/ShiroConfig class] : Unsatisfied dependency expressed through method' shiroFilterFactoryBean parameter 0; Nested exception is org. Springframework. Beans. Factory. BeanCreationException: Error creating bean with the name 'securityManager defined in the class path resource [com/XGS/hisystem/config/ShiroConfig class] : bean instantiation via the factory method failed; Nested exception is o
The at org. Springframework. Beans. Factory. The annotation. AutowiredAnnotationBeanPostProcessor $AutowiredMethodElement. Inject (AutowiredAnnotationBeanPostProcessor. Java: 676)
The at org. Springframework. Beans. Factory. The annotation. InjectionMetadata. Inject (InjectionMetadata. Java: 90)
The at org. Springframework. Beans. Factory. The annotation. AutowiredAnnotationBeanPostProcessor. PostProcessProperties (AutowiredAnnotationBeanPostProcessor. Java: 374)
The at org. Springframework. Beans. Factory. Support. AbstractAutowireCapableBeanFactory. PopulateBean (AbstractAutowireCapableBeanFactory. Java: 1378)
The at org. Springframework. Beans. Factory. Support. AbstractAutowireCapableBeanFactory. DoCreateBean (AbstractAutowireCapableBeanFactory. Java: 575)
The at org. Springframework. Beans. Factory. Support. AbstractAutowireCapableBeanFactory. CreateBean (AbstractAutowireCapableBeanFactory. Java: 498)
nullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnull
  • Related