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
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>