今天在进行 spring 与Mybatis 整合的时候 进行了Juniti4的整合。 测试时发现一个奇怪的错误,查资料也没有找到。
2017-3-16 9:31:00 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.DependencyInjectionTestExecutionListener, org.springframework.test.context.support.DirtiesContextTestExecutionListener, org.springframework.test.context.transaction.TransactionalTestExecutionListener, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener]
查了网上各种答案 说是jar包没有引入 或者说jar冲突 我也都试过 并且改正,没有任何效果。最后才发现错误!!!!
、
原来是maven 创建项目,myeclipse 默认使用了自带的jdk1.6
后来我改成自己安装的1.7后 一切都通畅了….
点击修改
特此记录!