Java.lang.IllegalArgumentException: WebApplicationContext is required

来自ling
跳转至: 导航搜索
private WebApplicationContext wac;

改为:

@Autowired
private WebApplicationContext wac;