ssh框架下进行junit单元测试

一直提示如下错误
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in URL [file:WebRoot/WEB-INF/applicationContext.xml]: Initialization of bean failed; nested exception is java.lang.NoSuchFieldError: NULL
...
(ClassPathXmlApplicationContext.java:83)
Caused by: java.lang.NoSuchFieldError: NULL
...

找不到原因,junit4已经导入了。这样应该是一定找到配置文件了,只是在生成bean的时候出现问题了吧。下面截图是配置文件相关配置

求救了!!!
有没有遇到同样问题的大神

请检查下类路径下Spring的各jar包的版本是否一致。
温馨提示:答案为网友推荐,仅供参考