Junite 中 测试@Autowired 无法生效的原因
package IOCReview;
import static org.junit.Assert.*;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework...
原创
2019-05-22 20:54:53 ·
929 阅读 ·
0 评论