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

后端 未结 25 1178
情深已故
情深已故 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 13:05

    For me it was something to do with commons-logging. Since I was using

    @RunWith(SpringJUnit4ClassRunner.class)
    

    This resolved my issue

    <dependency>
        <groupId>commons-logging</groupId>
        <artifactId>commons-logging</artifactId>
        <version>1.2</version>
    </dependency>
    
    0 讨论(0)
提交回复
热议问题