程序中有这么一块代码:
*/
@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration(locations = { "/conf/spring/*.xml" })
public class SearchConsumptionInDayImplTest extends BaseJunit
报错:
The attribute locations is undefined for the annotation type ContextConfiguration
解决办法:升级spring-test.jar的版本。