mockMvc = standaloneSetup(homeController).build() 报错
spring吧
全部回复
仅看楼主
level 1
写测试代码mockMvc = standaloneSetup(homeController).build()报错。是什么情况。
at org.springframework.test.web.servlet.setup.AbstractMockMvcBuilder.build(AbstractMockMvcBuilder.java:127)跪求大神指点。
2016年09月01日 01点09分 1
level 1
MockMvc mockMvc = standaloneSetup(controller)
.setSingleView(
//Create a new InternalResourceView with the given URL.
new InternalResourceView("/WEB-INF/views/spittles.jsp")
).build();
2017年09月16日 09点09分 3
1