Eclipse JUnit - possible causes of seeing “initializationError” in Eclipse window

后端 未结 25 1326
情深已故
情深已故 2020-12-13 12:35

I know this question is pretty general but I haven\'t found any hints on why this error may show up. What are possible causes of seeing initalizationError in Eclips

25条回答
  •  误落风尘
    2020-12-13 12:44

    Just if this helps, I was using Junit5 but the @RunWith(SpringRunner.class) was pointing towards import org.springframework.test.context.junit4.SpringRunner, which was messing around with things and hence was giving the initialization error. I fixed this and it worked.

提交回复
热议问题