写测试代码mockMvc = standaloneSetup(homeController).build()报错。是什么情况。 at org.springframework.test.web.servlet.setup.AbstractMockMvcBuilder.build(AbstractMockMvcBuilder.java:127)跪求大神指点。
MockMvc mockMvc = standaloneSetup(controller) .setSingleView( //Create a new InternalResourceView with the given URL. new InternalResourceView("/WEB-INF/views/spittles.jsp") ).build();