【发布时间】:2012-10-14 11:15:32
【问题描述】:
我收到此代码错误:
@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration(locations = { "classpath:applicationContext.xml" })
错误:
file not found exception
请帮帮我。
【问题讨论】:
-
你项目中的applicationContext.xml在哪里?
-
你可以试试
classpath*:applicationContext.xml(见类路径后面的*)...它可能会有所帮助。