西昆仑
因为你的AreaDaoTest不是交由spring管理的啊,所以AreaDaoTest也不是spring帮你实例化出来的,spring就更不可能知道你的AreaDaoTest依赖于AreaDao试试在你的AreaDaoTest上注解,注意locations换成你自己的配置文件@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration(locations = {"classpath*:/spring/servlet.xml","classpath*:/spring/common.xml"})