使用spring方式进行junit,报错xml文件不存在
一、前提
报错的xml文件定义在src/test/resource中
报错:Caused by: java.io.FileNotFoundException: class path resource [initForTest.xml] cannot be opened because it does not exist
java代码:
@ContextConfiguration({
"
原创
2015-04-09 17:39:46 ·
2923 阅读 ·
0 评论