Spring实战第四版 第二章 测试组件扫描能够发现CompactDisc 怎么样才算成功

12Dong 2018-01-07 02:15:30

一月 07, 2018 2:09:36 下午 org.springframework.test.context.support.DefaultTestContextBootstrapper getDefaultTestExecutionListenerClassNames
信息: Loaded default TestExecutionListener class names from location [META-INF/spring.factories]: [org.springframework.test.context.web.ServletTestExecutionListener, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener, org.springframework.test.context.support.DependencyInjectionTestExecutionListener, org.springframework.test.context.support.DirtiesContextTestExecutionListener, org.springframework.test.context.transaction.TransactionalTestExecutionListener, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener]
一月 07, 2018 2:09:36 下午 org.springframework.test.context.support.DefaultTestContextBootstrapper instantiateListeners
信息: Could not instantiate TestExecutionListener [org.springframework.test.context.web.ServletTestExecutionListener]. Specify custom listener classes or make the default listener classes (and their required dependencies) available. Offending class: [javax/servlet/ServletContext]
一月 07, 2018 2:09:36 下午 org.springframework.test.context.support.DefaultTestContextBootstrapper getTestExecutionListeners
信息: Using TestExecutionListeners: [org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@668bc3d5, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@3cda1055, org.springframework.test.context.support.DirtiesContextTestExecutionListener@7a5d012c, org.springframework.test.context.transaction.TransactionalTestExecutionListener@3fb6a447, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@79b4d0f]
一月 07, 2018 2:09:36 下午 org.springframework.context.support.GenericApplicationContext prepareRefresh
信息: Refreshing org.springframework.context.support.GenericApplicationContext@1810399e: startup date [Sun Jan 07 14:09:36 CST 2018]; root of context hierarchy

这是run CDPlayerTest 后出来的结果
...全文
310 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
橘与柚 2021-06-21
  • 打赏
  • 举报
回复

请问你是如何解决的呢

50,549

社区成员

发帖
与我相关
我的任务
社区描述
Java相关技术讨论
javaspring bootspring cloud 技术论坛(原bbs)
社区管理员
  • Java相关社区
  • 小虚竹
  • 谙忆
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧