要使用springtest来进行单元测试 否则将无法注入 applicationContext.xml

spring test

猜你喜欢

转载自www.cnblogs.com/kinome/p/9284292.html