Could not load TestContextBootstrapper - Spring Unit testing

后端 未结 3 1677
终归单人心
终归单人心 2020-12-11 00:40

I have to execute Unit test on one of my Dao classes using Spring. Here is my unit test:

@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration(locati         


        
3条回答
  •  孤街浪徒
    2020-12-11 01:23

    It is probably a version conflict since you are using a old version of base spring (2.5.6) with very new one (4.1.4.RELEASE) for your test en context includes

提交回复
热议问题