为了账号安全,请及时绑定邮箱和手机立即绑定

老师帮忙看下,大神们,帮帮忙

java.lang.IllegalStateException: Failed to load ApplicationContext


 at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132)

 at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:123)

 at org.springframework.test.context.web.ServletTestExecutionListener.setUpRequestContextIfNecessary(ServletTestExecutionListener.java:190)

 at org.springframework.test.context.web.ServletTestExecutionListener.prepareTestInstance(ServletTestExecutionListener.java:132)

 at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:244)

 at org.springframework.test.context.junit.jupiter.SpringExtension.postProcessTestInstance(SpringExtension.java:98)

 at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.lambda$invokeTestInstancePostProcessors$5(ClassBasedTestDescriptor.java:337)

 at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.executeAndMaskThrowable(ClassBasedTestDescriptor.java:342)

 at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.lambda$invokeTestInstancePostProcessors$6(ClassBasedTestDescriptor.java:337)

 at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)

 at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175)

 at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1382)

 at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)

 at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)

 at java.util.stream.StreamSpliterators$WrappingSpliterator.forEachRemaining(StreamSpliterators.java:312)

 at java.util.stream.Streams$ConcatSpliterator.forEachRemaining(Streams.java:743)

 at java.util.stream.Streams$ConcatSpliterator.forEachRemaining(Streams.java:742)

 at java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:580)

 at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.invokeTestInsta


正在回答

举报

0/150
提交
取消

老师帮忙看下,大神们,帮帮忙

我要回答 关注问题
意见反馈 帮助中心 APP下载
官方微信